[Bug 234741] Loader fails to load from ZFS with two disks in JBOD configuration

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 8 11:27:46 UTC 2019


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

            Bug ID: 234741
           Summary: Loader fails to load from ZFS with two disks in JBOD
                    configuration
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: theraven at FreeBSD.org

After an upgrade of a Hyper-V VM to 12.0, I can no longer boot.  The root
filesystem is on ZFS, with two virtual disks in a JBOD configuration (my
preferred configuration for VMs, because it gives a nice easy way of adding
storage: just add more virtual disks as needed and expand the zpool).

The loader fails with the error "all block copies unavailable.".  I could still
load the old kernel from the same zpool and boot, and I can boot from the CD
image with currdev and vfs.root.mountfrom set to the ZFS filesystem (so I can,
at least, use the VM - for now, though rebooting involves typing a lot into the
loader prompt).

There's also a suspicious loader error message that loader.lua contains an
invalid character '*' on line 1: loader.lua doesn't contain the character '*'
anywhere.

When the machine was originally installed, it had a single virtual disk in the
zpool, so presumably all of /boot (on zpool/ROOT/default) was on a single disk.
 The second virtual disk is larger than the initial one, so it's likely that
blocks in /boot are split over both disks.  My guess is that loader is failing
to find blocks that are on the second disk.

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


More information about the freebsd-bugs mailing list