ZFS: i/o error - all block copies unavailable #2

Daniel Dettlaff dmilith at gmail.com
Tue Oct 21 20:44:23 UTC 2014


I saw posts from 2009 on this mailing list, about a boot issue with ZFS.

I have IBM server with HW RAID10 made from 36 disks.
I'm using FreeBSD 9.2-RELEASE.
From system point of view my raid is seen as 65TiB drive at /dev/mfid0
From ZFS point of view it's plain stripe as one zvol (on mfid0p2). My partition layout is GPT:

root at backup7:~ # gpart show
=>          34  140624990141  mfid0  GPT  (65T)
               34           128      1  freebsd-boot  (64k)
    162  140624990013      2  freebsd-zfs  (65T)

It was installed using mfsbsd installer based on FreeBSD 9.2.

This machine has been working happily, until today when I did "reboot". After that system is unbootable, and throws on boot:

ZFS: i/o error - all block copies unavailable
ZFS: can't find root dsl_dir

My pool is ok, I can boot to it through external ISO (f.e. mfsbsd).

Also "status" shows that everything's fine (screenshot of what my kvm shows there):

I saw in previous thread (http://marc.info/?l=freebsd-fs&m=125807564213035&w=2), that there's a patch for raidz that somewhat fixes that issue in FreeBSD 8.x with raidz.

So far I did try many "solutions" but none helped in that matter.
I did try: update bootcode, move /boot from one place to other, update kernel, switch between kernel / kernel.old, and several more or less stupid attempts to fix it

Any ideas?

Daniel (dmilith) Dettlaff

More information about the freebsd-current mailing list