Hi all,
How canI replace a single hard drive with two mirrored hard drives in a two-bay system.
A while ago I set up a cheap foxconn two-drive-bay atom system and used a single spare hard drive. (Using ZFS. Yes I know it doesn't make sense to use ZFS with a single drive, but I was very new at the time and the drive was big enough)
I want to replace the single hard drive with two mirrored (RAID1) hard drives
Question:
What's the best way to do this?
Current status:
Brute force?
I planned to reinstall freenas onto a new flash drive, create the mirrored volume with the two new drives, and then rsync-via-ssh from the "backup NTFS drive" to freenas. This is slow and requires me to reload my ssh keys etc...
Cleaner Approach?
I wondered if anyone could offer a cleaner approach:
e.g. mounting the "old drive" (zfs) via USB, updating the freenas internal sqllite db to "remap" the original volume to the "usb drive" and using plain old copying ('cp -r')
thanks
How canI replace a single hard drive with two mirrored hard drives in a two-bay system.
A while ago I set up a cheap foxconn two-drive-bay atom system and used a single spare hard drive. (Using ZFS. Yes I know it doesn't make sense to use ZFS with a single drive, but I was very new at the time and the drive was big enough)
I want to replace the single hard drive with two mirrored (RAID1) hard drives
Question:
What's the best way to do this?
Current status:
- Freenas 8.0.3. I tried upgrading to 8.2 but the upgrade failed.
- I have backed-up-via rsync-over-the-network the "old drive" to an external NTFS drive
- I have installed the new hard drives
- I have an additional external enclosure in which I can put the old hard drive
- The OS boots up and recognizes the hard drives.
- THe Freenas GUI, however, is confused as its internal-database is inconsistent with the hard drives on the system
Brute force?
I planned to reinstall freenas onto a new flash drive, create the mirrored volume with the two new drives, and then rsync-via-ssh from the "backup NTFS drive" to freenas. This is slow and requires me to reload my ssh keys etc...
Cleaner Approach?
I wondered if anyone could offer a cleaner approach:
e.g. mounting the "old drive" (zfs) via USB, updating the freenas internal sqllite db to "remap" the original volume to the "usb drive" and using plain old copying ('cp -r')
thanks