Cindy Swearingen wrote:
Hi Daniel,

No conversion from a mirrored to RAIDZ configuration is available yet.

Well... you can do it, but it's a bit byzantine, and leaves you without redundancy during the migration.

1) Add your new disks
2) Create a sparse file at least as large as your smallest disk (via mkfile)
3) Scrub your pool (it had better be clean before you do this!)
4) Break the mirror
5) Create the new pool as raidz ${newdisks} ${ex-mirror} ${sparse file}
6) zpool offline the sparse file
7) zfs send/recv your old pool into your new pool
8) Verify all your zfs properties, data, etc.
9) zpool destroy your old pool
10) zpool replace the sparse file with the last disk
11) zpool export & re-import with the old pool name if desired

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

Reply via email to