[Bug 221077] Boot from ZFS fails following freebsd-update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 28 23:51:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221077

            Bug ID: 221077
           Summary: Boot from ZFS fails following freebsd-update
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bacon4000 at gmail.com

This system was running without a hickup for over a year.  After running
freebsd-update fetch install today, I'm getting the following:

ZFS: i/o error - all block copies unavailable
ZFS: can't find dataset u
gptzfsboot: failed to mount default pool

Symptoms look similar to a problem I had previously solved on another system:

https://forums.freebsd.org/threads/54422/

Specifically, I had done the following a couple of times successfully, but it's
not working in this case:

1) Boot from 10.2-RELEASE USB stick, CD, or DVD
2) Select Live CD from Install/Shell/Live CD menu
3) Log in as root
4) Run the following at the shell prompt:
# zpool import -R /mnt -f zroot # Probably equivalent to what you did for this
purpose
# cd /mnt
# mv boot boot.orig
# mkdir boot
# cd boot.orig
# cp -Rp * /mnt/boot # Note -p to make sure permissions are correct in the new
/boot
# zpool export
reboot

Also tried reinstalling the boot block:

gpart bootcode bootcode -b /mnt/boot/pmbr -p /mnt/boot/gptzfsboot -i 1 mfid0

This is a ZFS filesystem on a hardware RAID 5, PERC R710 (LSI chipset).  From
pciconf -l:

mfi0 at pci0:1:0:0:        class=0x010400 card=0x1f161028 chip=0x00791000 rev=0x05
hdr=0x00
    vendor     = 'LSI Logic / Symbios Logic'
    device     = 'MegaRAID SAS 2108 [Liberator]'
    class      = mass storage
    subclass   = RAID

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list