From owner-freebsd-fs@FreeBSD.ORG Wed Dec 26 22:20:49 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD16F16A418 for ; Wed, 26 Dec 2007 22:20:49 +0000 (UTC) (envelope-from bp@barryp.org) Received: from eden.barryp.org (host-42-60-230-24.midco.net [24.230.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 99CED13C447 for ; Wed, 26 Dec 2007 22:20:49 +0000 (UTC) (envelope-from bp@barryp.org) Received: from geo.med.und.nodak.edu ([134.129.166.11]) by eden.barryp.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1J7dxc-000377-BM; Wed, 26 Dec 2007 15:38:44 -0600 Message-ID: <4772C9EE.8090407@barryp.org> Date: Wed, 26 Dec 2007 15:38:54 -0600 From: Barry Pederson User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <474546F5.2000007@fsn.hu> <20071123183420.GA12811@garage.freebsd.pl> In-Reply-To: <20071123183420.GA12811@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2007 22:20:49 -0000 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