[Bug 256368] FreebBSD 13 does not boot after ZIL remove: panic: VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, &txg)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Jun 2021 07:09:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256368

            Bug ID: 256368
           Summary: FreebBSD 13 does not boot after ZIL remove: panic:
                    VERIFY(nvlist_lookup_uint64(configs[i],
                    ZPOOL_CONFIG_POOL_TXG, &txg)
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rpalov@e-card.bg

Hello all,

We face bug with bootable zpool. 

It can be reproduced very easy. 

1) Install FreeBSD13 from official images with ZFS root partition and add one
disk for ZIL. 

2) Write some megabytes to /root/example.txt for example.

3) Remove the ZIL.

*) Until here if you restart the OS between each step it boots successful. 

4) Add the same of new hdd as ZIL. 

5) Reboot OS

After step 5 the OS falls in booting loop. FreeBSD boot, pass to mounting root
boot order step and then comes kernel panic with message : 

panic: VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, &txg)

6) To restore normal boot process, you need to boot from live-media, import the
pool and remove the ZIL

My search in bugs database found few similar reports for older FreeBSD
versions.

Cheers
Rumen Palov

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