You can add more disks to a pool that is in raid-z you just can't add disks to the existing raid-z vdev.
cd /usr/tmp mkfile -n 100m 1 2 3 4 5 6 7 8 9 10 zpool create t raidz /usr/tmp/1 /usr/tmp/2 /usr/tmp/3 zpool status t zfs list t zpool add -f t raidz2 /usr/tmp/4 /usr/tmp/5 /usr/tmp/6 /usr/tmp/7 zpool status t zfs list t zpool add t /usr/tmp/8 spare /usr/tmp/9 zpool status t zfs list t zpool attach t /usr/tmp/8 /usr/tmp/10 zpool status t zfs list t sleep 10 rm /usr/tmp/5 zpool scrub t sleep 3 zpool status t mkfile -n 100m 5 zpool replace t /usr/tmp/5 zpool status t sleep 10 zpool status t zpool offline t /usr/tmp/1 mkfile -n 200m 1 zpool replace t /usr/tmp/1 zpool status t sleep 10 zpool status t zpool offline t /usr/tmp/2 mkfile -n 200m 2 zpool replace t /usr/tmp/2 zfs list t sleep 10 zpool offline t /usr/tmp/3 mkfile -n 200m 3 zpool replace t /usr/tmp/3 sleep 10 zfs list t zpool destroy t rm 1 2 3 4 5 6 7 8 9 10
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss