zfs detach/replace
Joshua Boyd
boydjd at jbip.net
Sun Jan 1 00:35:22 UTC 2012
On Sat, Dec 31, 2011 at 1:58 AM, Michael DeMan <freebsd at deman.com> wrote:
> Hi All,
>
> The origination of the problem is entirely my fault on FreeBSD 8.1
> RELEASE #0. We had old notes that attempting a 'replace' (which is
> appropriate for a mirror) leaves ZFS in a funky state on BSD. I
> inadvertently did just that on a drive swap on a raidz2 pool. My old notes
> show the only recovery that we knew of at the time was to rsync or zfs-send
> the pool elsewhere, destroy the local and rebuild from scratch.
>
I've never had a problem before, and have replaced about 5 drives in my
striped raidz ...
Usually I'll execute a zpool offline, camcontrol stop, remove the drive,
then zpool replace.
I am running 8-STABLE though, and not -RELEASE.
--
Joshua Boyd
E-mail: boydjd at jbip.net
http://www.jbip.net
More information about the freebsd-fs
mailing list