Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 11:04:24 +0200
From:      Gareth de Vaux <bsd@lordcow.org>
To:        stable@freebsd.org
Subject:   Re: ZFS raidz recovery
Message-ID:  <20101221090424.GA29240@lordcow.org>
In-Reply-To: <20101206110754.GA82394@lordcow.org>
References:  <20101127132249.GA80611@lordcow.org> <20101206110754.GA82394@lordcow.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2010-12-06 (13:07), Gareth de Vaux wrote:
> 'zpool replace' also only works if you physically swap out a disk
> at the same port, or replace disk1 with disk2 online. 'zpool remove'
> and 'zpool detach' don't remove devices from a raidz.
> 
> So I can recover an array if I have an extra disk to play with,
> to use temporarily or to swap out with. If I don't and a disk is
> giving trouble I can't drop it from the array, try to do something
> with it, and reinsert it.

As the ZFS guys point out, you can replace the same disk out if you
zero both its EFI labels - about 1MB at the beginning and end of the
disk.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101221090424.GA29240>