Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2007 23:30:42 +0100
From:      Sverre Svenningsen <ss.alert@online.no>
To:        Barry Pederson <bp@barryp.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again
Message-ID:  <28DDC893-1432-4F0B-95D4-AA6049CD5FB2@online.no>
In-Reply-To: <4772C9EE.8090407@barryp.org>
References:  <474546F5.2000007@fsn.hu> <20071123183420.GA12811@garage.freebsd.pl> <4772C9EE.8090407@barryp.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 26, 2007, at 22:38 , Barry Pederson wrote:

> Pawel Jakub Dawidek wrote:
>> On Thu, Nov 22, 2007 at 10:08:05AM +0100, Attila Nagy wrote:
>>> Hello,
>>>
>>> FreeBSD RELENG_7, x86, a terrible disk array, called Promise  
>>> RM-8000 with 8 disks on an ahc.
>>> The pool is a RAIDZ2.
>>> Tomorrow the array went crazy (its firmware is a total crap), so I  
>>> had to reboot both the machine and the disk array.
>>>
>> You should use:
>> 	# zpool replace people da3 da3
>> but to do it, you need this patch, which was not yet MFCed:
>> 	http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c.diff?r1=1.3;r2=1.4
>
> I had a drive in a raidz2 pool fail, and wasn't able to replace it  
> until rebuilding the kernel (7.0beta3) with the above patch.  I'm  
> just mentioning this as a worksforme kind of thing.
>
> I'm rebuilding today with RELENG_7_0 and saw that the patch still  
> applied cleanly, so I'm assuming it's still necessary.  I hope it or  
> something similar gets merged in.  Or at least maybe the ZFS wiki  
> could have a list of recommended patches?
>
> 	Barry
>

Doesn't it work even when doing a "zfs offline people da3" first? I  
installed a 7.0-beta in a Parallels VM just to torture test the raidz  
recreation (since my real hardware is running linux+evms right now)  
and i got the error that the device was in use, until i issued the  
offline command FIRST and then told it to replace the offlined disk  
with the same disk.

This should probably be emphasized in the zfs crash course  
documentation :)

-Sverre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28DDC893-1432-4F0B-95D4-AA6049CD5FB2>