From owner-freebsd-fs@FreeBSD.ORG Tue Aug 16 17:04:57 2011 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 70115106564A for ; Tue, 16 Aug 2011 17:04:57 +0000 (UTC) (envelope-from tdb@carrick.bishnet.net) Received: from carrick.bishnet.net (carrick.bishnet.net [IPv6:2a01:348:132:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 36E318FC16 for ; Tue, 16 Aug 2011 17:04:57 +0000 (UTC) Received: from carrick-users.bishnet.net ([2a01:348:132:51::10]) by carrick.bishnet.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1QtN4S-000Gr9-LG for freebsd-fs@freebsd.org; Tue, 16 Aug 2011 18:04:56 +0100 Received: (from tdb@localhost) by carrick-users.bishnet.net (8.14.4/8.14.4/Submit) id p7GH4ucs064741 for freebsd-fs@freebsd.org; Tue, 16 Aug 2011 18:04:56 +0100 (BST) (envelope-from tdb) Date: Tue, 16 Aug 2011 18:04:56 +0100 From: Tim Bishop To: freebsd-fs@freebsd.org Message-ID: <20110816170456.GH7564@carrick-users.bishnet.net> References: <20110816162223.GG7564@carrick-users.bishnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110816162223.GG7564@carrick-users.bishnet.net> X-PGP-Key: 0x5AE7D984, http://www.bishnet.net/tim/tim-bishnet-net.asc X-PGP-Fingerprint: 1453 086E 9376 1A50 ECF6 AE05 7DCE D659 5AE7 D984 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Did zpool offline, then reboot, now "freebsd zfs i/o error - all block copies unavailable" 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: Tue, 16 Aug 2011 17:04:57 -0000 On Tue, Aug 16, 2011 at 05:22:23PM +0100, Tim Bishop wrote: > I suspected one of my disks (in a zpool mirror) had a problem, so I > thought I'd test this out by offlining the disk and rebooting. > > Unfortunately this failed during the reboot with the following error: > > freebsd zfs i/o error - all block copies unavailable > > A search of the archive suggests people have hit this before, but not in > the same circumstance (I think). > > I figured the pool being degraded might be the issue, so I booted from a > livecd and detatched the offlined disk leaving the pool in a good state. > Rebooted again but the same problem occured. > > I'm now back in the livecd reattaching the disk, but this'll take a long > time (ETA 24h). Fingers crossed it works! > > Whilst I wait, does anybody have any ideas what went wrong? Doh - simple I think. The cache file didn't match the real state of the system. Copied the one from the livecd's /boot/zfs to the single disk pool and it now boots fine. Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984