Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2017 23:51:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221077] Boot from ZFS fails following freebsd-update
Message-ID:  <bug-221077-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: bacon4000@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@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.


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