Bug 248518 - After upgrading from 12.1-STABLE r363327 to r364004, system will not mount zfs root filesystem
Summary: After upgrading from 12.1-STABLE r363327 to r364004, system will not mount zf...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-07 22:47 UTC by Patrick McMunn
Modified: 2020-08-13 02:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2020-08-07 22:47:56 UTC
After running "make -j24 buildworld buildkernel" (using GENERIC kernel with no modifications), I ran "make installkernel" and rebooted with "shutdown -r now". I got the following errors upon rebooting.

-----

Solaris: NOTICE: Cannot find the pool label for 'zroot'
Mounting from zfs:zroot/ROOT/default failed with error 5.

Loader variables:
  vfs.root.mountfrom=zfs:zroot/ROOT/default

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:zroot/ROOT/default
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot>

-----

I was able to reboot, choose to boot from the old kernel, and everything was working fine as it had before. I didn't see any notices in UPDATING that would indicate any ZFS incompatibilities I needed to account for, so I'm assuming this is a bug.
Comment 1 Patrick McMunn 2020-08-12 21:46:53 UTC
I waited a few days and rebuilt the source for r364178. It had no problem booting or mounting the filesystem. Whatever the issue was with the earlier revision appears to have already been resolved.