On Wed, October 6, 2010 14:14, Tony MacDoodle wrote:
> Is it possible to add 2 disks to increase the size of the pool below?
>
> NAME STATE READ WRITE CKSUM
>   testpool ONLINE 0 0 0
> mirror-0 ONLINE 0 0 0
> c1t2d0 ONLINE 0 0 0
> c1t3d0 ONLINE 0 0 0
> mirror-1 ONLINE 0 0 0
> c1t4d0 ONLINE 0 0 0
> c1t5d0 ONLINE 0 0 0

You have two ways to increase the size of this pool (sanely).

First, you can add a third mirror vdev.  I think that's what you're
specifically asking about.  You do this with the "zpool add ..." command,
see man page.

Second, you can add (zpool attach) two larger disks to one of the existing
mirror vdevs, wait until the resilvers have finished, and then detach the
two original (smaller) disks.  At that point (with recent versions; with
older versions you have to set a property) the vdev will expand to use the
full capacity of the new larger disks, and that space will become
available in the pool.

-- 
David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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

Reply via email to