[Discuss] RAID-Z question

Richard Pieri richard.pieri at gmail.com
Sat Feb 4 15:44:52 EST 2012


On Feb 4, 2012, at 10:28 AM, Edward Ned Harvey wrote:
> 
> Depending on the OS and the version of zpool, 
> man zpool
> search for "autoexpand" property

I expect to use FreeNAS 8 (FreeBSD 8.2 with ZFS v.15).  Responses here have given me sufficient information to feed to Google.  The process in a nutshell:

1. "zpool scrub" to make sure everything is really clean.  Make sure that the RAID-Z is set to autoexpand.
2. "zpool offline" to fault a disk out of the RAID-Z.
3. Remove the faulted disk, install a new disk.
4. "zpool replace" to incorporate the new disk into the RAID-Z.  Wait for the resilver process to complete.
5. Repeat steps 2 through 4 for the remaining disks.
6. "zpool export" and "zpool import" to clean up.

--Rich P.




More information about the Discuss mailing list