Re: Replacing a failed disk in raidz2 zfs (and gpt)

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Thu, 3 Feb 2011 20:44:06 +0100
On Thu, Feb 03, 2011 at 06:11:34AM +0000, Philip M. Gollucci wrote:
> All,
> 
> I have a zroot(mirror)+zmysql(raidz2) setup on a MySQL db box.
> One drive failed (mfid3).  We've since replaced it.
> 
> I can't for the life of me get zpool to replace it. I can't remember why
> I used gpt instead of direct disks for the zmysql pool (but thats how it
> is).  I've tried all of the following commands with different errors,
> and I must say I'm stumped.  I've done this several times before for the
> ASF (but no gpt at play there).
> 
> $ zpool scrub zmysql
> just runs, and completes, no error
> 
> $ zpool replace zmysql gpt/disk3
> cannot replace gpt/disk3 with gpt/disk3: one or more devices is
> currently unavailable
[...]
> $ zpool offline zmysql gpt/disk3
> cannot offline gpt/disk3: no valid replicas

I'm afraid this is ZFS bug that is fixed in v28 for sure, not sure
about v14/v15.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Thu Feb 03 2011 - 18:44:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC