Brandon High schrieb:
> 1. Create a sparse file on an existing filesystem. The size should be
> the same as your disks.
> 2. Create the raidz with 4 of the drives and the sparse file.
> 3. Export the zpool.
> 4. Delete the sparse file
> 5. Import the zpool. It should come up as degraded, since one of its
> vdevs is missing.
> 6. Copy your files onto the zpool.
> 7. replace the file vdev with the 5th disk.

You can skip steps 3-5 and just put the sparse file offline manually 
(zpool offline ...)

I have migrated a 2x1TB mirror to a 4x1TB RAIDZ this way a few weeks ago.


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

Reply via email to