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!!
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Question on expanding pool
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Question on expanding pool
both workBrent502 wrote: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 ???
you can add by shell using:
Code: Select all
zpool add pool_1 mirror da3 da41 create a vDev 'raid2' for da3, da4 as mirror
2 add this new vdev to existing pool pool_1
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
fsbruva
- Advanced User

- Posts: 378
- Joined: 21 Sep 2012 14:50
- Status: Offline
Re: Question on expanding pool
Do you want da3 and da4 to be mirrors to each other? Or to da1 and da2?
Each Vdev is its own entity. Pools can be spread across multiple vdevs. The presumption is that all the vdevs in a given pool will have the same structure or redundancy, but not necessarily the same size.
If you want da3 and da4 to be independent of the existing mirror containing da1 and da2, then create a separate pool. Adding vdevs will always increase the size of the pool. Once vdevs are added, they cannot be removed.
Each Vdev is its own entity. Pools can be spread across multiple vdevs. The presumption is that all the vdevs in a given pool will have the same structure or redundancy, but not necessarily the same size.
If you want da3 and da4 to be independent of the existing mirror containing da1 and da2, then create a separate pool. Adding vdevs will always increase the size of the pool. Once vdevs are added, they cannot be removed.
