[Bug 264453] ZFS: unsupported feature: com.delphix:head_errlog

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Jun 2022 16:44:52 UTC

            Bug ID: 264453
           Summary: ZFS: unsupported feature: com.delphix:head_errlog
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: warlock@phouka.net

So trivial to avoid by not updating the pool, but I've only seen one person
(Johan Hendriks) mention this on 2022/5/20 on freebsd-current.

root@bsd14:~ # md5sum /boot/pmbr /boot/gptzfsboot
1d4076392c0e82e125659c634e894f96  /boot/pmbr
7f47ae1d5ec106427cec7b4e1238bb42  /boot/gptzfsboot
root@bsd14:~ # ls -lash /boot/pmbr /boot/gptzfsboot
141 -r--r--r--  1 root  wheel   155K Jun  4 08:22 /boot/gptzfsboot
  5 -r--r--r--  1 root  wheel   512B Jun  4 08:22 /boot/pmbr

root@bsd14:~ # uname -a
FreeBSD bsd14 14.0-CURRENT FreeBSD 14.0-CURRENT #112 main-n255977-45b143d2ea5f:
Sat Jun  4 08:07:45 PDT 2022    
warlock@bsd14:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

root@bsd14:~ # zpool status -v
  pool: zroot
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
        The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:00:49 with 0 errors on Wed Jun  1 20:44:32 2022

        NAME           STATE     READ WRITE CKSUM
        zroot          ONLINE       0     0     0
          vtbd0p3.eli  ONLINE       0     0     0

errors: No known data errors

root@bsd14:~ # zpool upgrade zroot
This system supports ZFS pool feature flags.

Enabled the following features on 'zroot':

Pool 'zroot' has the bootfs property set, you might need to update
the boot code. See gptzfsboot(8) and loader.efi(8) for details.

root@bsd14:~ # gpart show
=>       40  209715120  vtbd0  GPT  (100G)
         40       1024      1  freebsd-boot  (512K)
       1064        984         - free -  (492K)
       2048   16777216      2  freebsd-swap  (8.0G)
   16779264  192933888      3  freebsd-zfs  (92G)
  209713152       2008         - free -  (1.0M)

root@bsd14:~ # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 vtbd0
partcode written to vtbd0p1
bootcode written to vtbd0

... REBOOT ...

Calculating GELI Decryption Key for disk0p3: 2617276 iterations...
ZFS: unsupported feature: com.delphix:head_errlog
ZFS: pool zroot is not supported
ERROR: cannot open /boot/lua/loader.lua: invalid argument.

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