Create ZFS with single disk, add second after for mirroring.
Posted: 23 Dec 2015 14:42
Hi,
Here's my situation:
I have 2 identical 3TB drives. One has data that I do not want to lose and don't have anywhere else to store it. The other is blank.
I want to create a mirrored ZFS filesystem and was trying to achieve the following:
1. Create ZFS filesystem with a single disk using the blank disk.
2. Copy the data from the other disk to the new ZFS filesystem.
3. Blank the other disk and add it to the ZFS filesystem as part of a mirrored set.
4. Let it "rebuild" and relax knowing I now have a bit of redundancy.
The problem:
I am unable to create a ZFS vdev with a single disk. NAS4Free states it needs at least two (which makes sense for mirrored set but doesn't suit my situation).
To be honest I haven't done much with ZFS in the past and am more familiar with RAID (both software and hardware).
Any help would be appreciated.
Here's my situation:
I have 2 identical 3TB drives. One has data that I do not want to lose and don't have anywhere else to store it. The other is blank.
I want to create a mirrored ZFS filesystem and was trying to achieve the following:
1. Create ZFS filesystem with a single disk using the blank disk.
2. Copy the data from the other disk to the new ZFS filesystem.
3. Blank the other disk and add it to the ZFS filesystem as part of a mirrored set.
4. Let it "rebuild" and relax knowing I now have a bit of redundancy.
The problem:
I am unable to create a ZFS vdev with a single disk. NAS4Free states it needs at least two (which makes sense for mirrored set but doesn't suit my situation).
To be honest I haven't done much with ZFS in the past and am more familiar with RAID (both software and hardware).
Any help would be appreciated.