On Fri, 29 May 2009, Rich Teer wrote:

zpool attach dpool c1t0d0 c2t0d0
zpool attach dpool c1t1d0 c2t1d0
zpool attach dpool c1t2d0 c2t2d0

These should all be "zpool add dpool mirror {disk1} {disk2}", but yes. I recommend trying this out using files instead of disks beforehand so you get a feel for how it works.

Adding a vdev (i.e. disk, mirror, raidz) to a pool extends the pool and starts striping. Attaching a disk is done to another disk to create a mirror. It's easy to confuse the two because they both start with a (seriously).


Regards,
markm
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to