Page 1 of 1

3 disk ZFS mirror from 1 disk only?

Posted: 19 Dec 2013 13:10
by zinneken
I've tried creating a ZFS 3 disk mirror with only 1 disk to start off with, but have not found how to do this, or if it is even possible.

I'd like to create a zfs 3 disk mirror with only 1*2 GB drive and with the other 2*2GB drives missing. Once the ZFS is created I'll add the missing 2 drives one by one later (when they become available in the NAS, like a day or two later). Can this be done, and if so, how do I go about doing this in nas4free? Thanks!

Re: 3 disk ZFS mirror from 1 disk only?

Posted: 29 Dec 2013 00:19
by 00Roush
http://docs.oracle.com/cd/E19253-01/819 ... index.html See example 4-6.

Basically you don't actually setup a 3 way mirror initially. You just setup one disk as a ZFS mirror. Then when other disks arrive you can use the zpool attach option to add disks to mirror. In NAS4Free you can do this with the command line or in Web interface. Web interface is via Disks|ZFS|Pools|Tools attach option. It doesn't look like the web interface can attach more than one disk at a time though... I think command line can do this.

00Roush