Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2022 13:48:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 256368] ZFS: FreebBSD 13 does not boot after ZIL remove: panic: VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, &txg)
Message-ID:  <bug-256368-3630-OnnBqwpMUx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256368-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256368-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256368

--- Comment #9 from ruben@verweg.com ---
I can confirm that this patch, manually applied to 13.1p5, lets you remove =
and
add SLOG devices again without panics. the diff of zdb -e before and after
shows

--- zdb-root.txt        2022-12-16 11:59:06.691436000 +0100
+++ zdb-root-slog-readded.txt   2022-12-16 14:44:34.417938000 +0100
@@ -1,6 +1,7 @@

 Configuration for import:
-        vdev_children: 2
+        vdev_children: 3
+        hole_array[0]: 1
         version: 5000
         pool_guid: 4167832821587494122
         name: 'zroot'
@@ -24,6 +25,7 @@
                     id: 0
                     guid: 4024934502194417417
                     whole_disk: 1
+                    DTL: 97
                     create_txg: 4
                     path: '/dev/ada0p3'
                 children[1]:
@@ -31,19 +33,24 @@
                     id: 1
                     guid: 18122104391858199043
                     whole_disk: 1
+                    DTL: 96
                     create_txg: 4
                     path: '/dev/ada1p3'
             children[1]:
-                type: 'disk'
+                type: 'hole'
                 id: 1
-                guid: 4122499541960188698
+                guid: 0
+            children[2]:
+                type: 'disk'
+                id: 2
+                guid: 11454742377729792592
                 whole_disk: 1
-                metaslab_array: 45900
+                metaslab_array: 1932
                 metaslab_shift: 26
                 ashift: 12
                 asize: 1068761088
                 is_log: 1
-                create_txg: 46027
+                create_txg: 138279
                 path: '/dev/gpt/log'
         load-policy:
             load-request-txg: 18446744073709551615

(replaced) log device is present in configuration

% zpool status=20=20=20
  pool: zroot
 state: ONLINE
  scan: scrub repaired 0B in 00:00:20 with 0 errors on Fri Dec 16 13:10:06 =
2022
config:

        NAME         STATE     READ WRITE CKSUM
        zroot        ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            ada0p3   ONLINE       0     0     0
            ada1p3   ONLINE       0     0     0
        logs=20=20=20=20
          gpt/log    ONLINE       0     0     0
        cache
          gpt/l2arc  ONLINE       0     0     0

errors: No known data errors

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256368-3630-OnnBqwpMUx>