Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 18:04:56 +0100
From:      Tim Bishop <tim@bishnet.net>
To:        freebsd-fs@freebsd.org
Subject:   Re: Did zpool offline, then reboot, now "freebsd zfs i/o error - all block copies unavailable"
Message-ID:  <20110816170456.GH7564@carrick-users.bishnet.net>
In-Reply-To: <20110816162223.GG7564@carrick-users.bishnet.net>
References:  <20110816162223.GG7564@carrick-users.bishnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110816170456.GH7564>