From nobody Fri Dec 16 13:48:56 2022 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NYVnQ2JvGzt2vs for ; Fri, 16 Dec 2022 13:48:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NYVnQ19H6z4Kvp for ; Fri, 16 Dec 2022 13:48:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671198538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=12ZvXh8pQzWSZM8yMW3jkBb7ty7vbMRG3xSReMDj4x8=; b=tHWBKdylUG7VE+d91AgPO52ZRQl5j5X0qRbwW3VM4Dq6grHBdjcPK2dnox0RMlqeQcbVHZ dcfrAxSJ0FsEk5+b/h0E4xnpviqeqzvdWKJW+TPMiC/etV/JFpbdQnqgWGLTMT4KkOjIvI VZ8olebqLuqFc4Mg8Xs0MD6NBteyEFKo2VL4J3JTFC2aLTRNlTdwPVFOUBdZXz5VTjn0uC SB9nFOqbNe/CtffhbZoHrPJ20uDyYMPv/A71OASJc7tdqAnamc4cAKeohCm5gn4E8bsSZc Ma1r6CKSTIbsNlgmX6wTBqzHEJVTsMGrTSPu8LEo3HDhIAlcpE/8o/HpSz5qqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671198538; a=rsa-sha256; cv=none; b=MInXiQRxYaE6VIFiM+pwjT9wiNwO3tOiH2HQ5ri4yBWtBrw4mj7pX2mVhwmJub8ZIJIfQn bMI4UBm51d/Gzt5j3L6cHO9OCLhg6IZ8P7bIEEj19i1dilpwcFESGtax6Qsvv0SNAJlSKl nXsakgEmntx48nVC4JokDTQgZ7cApV6ArayxlalkhBjKtS0K3HmqmYHqmy205mTIpwSPnT g0L1ptijQUQ2p/upwXyvjXYU8SMkK8cZpIl5WfjwBp45uAI0HY5D4j2Au44d+slOqUShia Z8kjFVwSc3EA8g0WpQVfX6A51z2XQqsU+sF26lBzL23a2/VWLfmgVTNf90wfIw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NYVnP74TDzFP6 for ; Fri, 16 Dec 2022 13:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BGDmv5O096563 for ; Fri, 16 Dec 2022 13:48:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BGDmv9q096562 for fs@FreeBSD.org; Fri, 16 Dec 2022 13:48:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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) Date: Fri, 16 Dec 2022 13:48:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ruben@verweg.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freqlabs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=