From owner-freebsd-fs@FreeBSD.ORG Wed Dec 26 22:41:36 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 775E816A417 for ; Wed, 26 Dec 2007 22:41:36 +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 5370D13C467 for ; Wed, 26 Dec 2007 22:41:36 +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 1J7ewR-0003PG-Oh; Wed, 26 Dec 2007 16:41:35 -0600 Message-ID: <4772D8AA.6080905@barryp.org> Date: Wed, 26 Dec 2007 16:41:46 -0600 From: Barry Pederson User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Sverre Svenningsen References: <474546F5.2000007@fsn.hu> <20071123183420.GA12811@garage.freebsd.pl> <4772C9EE.8090407@barryp.org> <28DDC893-1432-4F0B-95D4-AA6049CD5FB2@online.no> In-Reply-To: <28DDC893-1432-4F0B-95D4-AA6049CD5FB2@online.no> 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:41:36 -0000 Sverre Svenningsen wrote: > 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 IIRC, at the time, no - it didn't work to do "zpool offline". I was a while ago though, but I'm fairly certain I tried "offline", "detach", and "replace", and even export/import. I could be wrong, and it could be different now though *shrug*. Barry