Tuesday, February 12, 2013

ZFS, Adding new disk

Adding new disk to existing storage pool to extend capacity (No mirror)
zpool add dpool c1t4d0


Adding an mirrored stripe to existing mirrors
zpool add dpool mirror newDev1 newDev2

Attaching a disk and make mirror
zpool attach dpool oldDev newDev 

Making a non-redundant to mirrir (existing=c1t1d0 new=c1t5d0)
zpool attach dpool c1t1d0 c1t5d0

Remove mirror from pool
zpool detach dpool c1t5d0

 Can't add new mirror to only disk storage pool

No comments: