Question on expanding pool
Posted: 02 Aug 2013 03:46
I have 2 x 1TB HD, which I format as ZFS storage pool device (da1, da2). Then I create a vDev (Name=raid1, Type=Mirror, Device=da1, da2).
I then create pool 'pool_1', add vDev 'raid1'. I create my DataSet and add Samba, NFS services..So far so good.
Now I have 2 x 2TB HD (da3, da4). I wish add it as mirror into the pool..I format both of them as ZFS storage pool device,
then at command line: zpool add pool_1 mirror da3 da4
Is that the correct way?? Or do I create a vDev 'raid2' for da3, da4 as mirror?? and can I add into the pool maybe with: zpool add pool_1 raid2 ???
I noticed when I did with 1st method...then later I try to remove da3 and da4 from pool_1..
I think I try: zpool detach pool_1 da3, which it let me..but I could not remove da4.
How can I remove the 2 mirror devices from pool_1 ?
Thanks!!
I then create pool 'pool_1', add vDev 'raid1'. I create my DataSet and add Samba, NFS services..So far so good.
Now I have 2 x 2TB HD (da3, da4). I wish add it as mirror into the pool..I format both of them as ZFS storage pool device,
then at command line: zpool add pool_1 mirror da3 da4
Is that the correct way?? Or do I create a vDev 'raid2' for da3, da4 as mirror?? and can I add into the pool maybe with: zpool add pool_1 raid2 ???
I noticed when I did with 1st method...then later I try to remove da3 and da4 from pool_1..
I think I try: zpool detach pool_1 da3, which it let me..but I could not remove da4.
How can I remove the 2 mirror devices from pool_1 ?
Thanks!!