[Bug 277886] ZFS boot loader gives up too easily on unsupported zpool flags

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Mar 2024 14:11:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277886

            Bug ID: 277886
           Summary: ZFS boot loader gives up too easily on unsupported
                    zpool flags
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trasz@FreeBSD.org

The ZFS boot code seems to not even bother to load anything when it discovers
an unsupported flag on a zpool.  This makes perfect sense for a typical mount,
but bootloader is special: when it fails one needs to physically get to the
machine with a pen drive in hand to bring it up.

Would it be possible to modify the boot loader ZFS support code to complain
about the unsupported flags, but then try to proceed anyway?  It's read-only,
so it's not going to corrupt the pool, and in the worst case it will just fail
to load, effectively falling back to current behaviour.

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