Did zpool offline, then reboot, now "freebsd zfs i/o error - all
block copies unavailable"
Tim Bishop
tim at bishnet.net
Tue Aug 16 17:04:57 UTC 2011
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
More information about the freebsd-fs
mailing list