From nobody Fri Dec 02 07:40:00 2022 X-Original-To: questions@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 4NNlGF3lbXz4jccp for ; Fri, 2 Dec 2022 07:40:05 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NNlGF3ChVz3qpZ for ; Fri, 2 Dec 2022 07:40:05 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669966805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lOsrrazE9eBfPNtTVWqIUq5Ke3TuOtMmfg1IuLKzWKI=; b=rDueY8ynz1vT61ZfhFfM75u2DCdMDxfvntlVPbJDELD7Adsnhr9pmeo6IeUHNaiESW1DUu FGhpp+7611TaieH0C6ehX1TQheTfl4mnsAYl+f6+P0YxewBNOovEuQxjP6ftA92PVFd+kW sij5rl/oaM12upeHUpM+noGVLQhvSggJXvBHK7L0BpG1+y8wXIT9TOhQYxhehH2eWaftOT s5x/mSOGlrTTdckJJxESvymwV8VeeSs26fqrgMZQQ/xf6IfdWt0biSYHkI/BK8l/GUjiwu 2nVsiZgKlTZdItoH7GQZi/3DKxTqfOy7HcCfC/T9qrLvvOGKvdQVAfntZnEj9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669966805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lOsrrazE9eBfPNtTVWqIUq5Ke3TuOtMmfg1IuLKzWKI=; b=Bh8xOEqJPcmeEDHG4dC+nL671xF+RtDpCg8e7JBz8f92RDnIVrfGkiD3gQc3iMFy8PmtW+ qda+Iyht5Qp7xTfhU8gVHNnmTKcbouLXZ+TomKY4UcihqUcV+EqIa3kpzSesqs3eRan9pr 54L5HVsHE6t9Zl3zIo47+K5Tu9lyKmCEatLxTOQHS2piGlE9mI3Q1hC9m7VjjTWFB7aZie GZ07tujrSlq09Fw8wU75a5T4QfweGq3sX6Aaem2a30nmI+yWVhJ0s3n0xhc9FZ5XuD6Xa7 83iaY9gOE6/aRgmDbn93TclStROi2maNkikOfyNok4bkQ6i8BpD4Yx8drNAaTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669966805; a=rsa-sha256; cv=none; b=Dt1HIInzm21D/vLIbredlEHhKzDbgOgGI1u/xk4tKJRn8c2ydVDa9xCAkIBHI5zIKh6bW3 wvuDRqWiB+aqzJFgxhV5FiBqDIe1q8nqvN7SgTDuVth4dQTxNnIA8Ju4oWLqOOgvSWe1IL /mY23Ht3U/ep/ioeh8o/imiGVGk6VRChDr0pKcrLaAowNM5s7AyzapktTO0ktAfKdIfQ+E YG9KVR96oemwx0jq+ZaZf2LMsX0j3oV7mBLMhIRCgbE8lVcfHjYwZAedp16QZhlcZUQ0LI 8xJ+Nd8mCBkcmJYZTB3jrojtcWDGKcU6jByiePNnwrh9MuDEbZUJcyv+prk03g== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4NNlGD54G6zVF1 for ; Fri, 2 Dec 2022 07:40:04 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: Date: Fri, 2 Dec 2022 07:40:00 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: ZFS Permanent error <0xffffffffffffffff>:<0x0> Content-Language: en-GB To: questions@freebsd.org References: <0ddaa537-ffa9-af0d-1a5a-1874a67ed2b5@netfence.it> <624e3234-39ec-b2c3-02e9-edc52aaa02d1@freebsd.org> From: Graham Perrin Organization: FreeBSD In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------FSlMxVxeUzrL1qu0TAwMWnPN" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------FSlMxVxeUzrL1qu0TAwMWnPN Content-Type: multipart/mixed; boundary="------------JewqIdfq4buEjXzo9rrJ00jY"; protected-headers="v1" From: Graham Perrin To: questions@freebsd.org Message-ID: Subject: Re: ZFS Permanent error <0xffffffffffffffff>:<0x0> References: <0ddaa537-ffa9-af0d-1a5a-1874a67ed2b5@netfence.it> <624e3234-39ec-b2c3-02e9-edc52aaa02d1@freebsd.org> In-Reply-To: --------------JewqIdfq4buEjXzo9rrJ00jY Content-Type: multipart/alternative; boundary="------------yIoPsG91408dhWyt4liJt7IG" --------------yIoPsG91408dhWyt4liJt7IG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMDIvMTIvMjAyMiAwNjo1OCwgQW5kcmVhIFZlbnR1cm9saSB3cm90ZToNC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yIoPsG91408dhWyt4liJt7IG Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 02/12/2022 06:58, Andrea Venturoli wrote:
On 12/2/22 00:21, Graham Perrin wrote:

Can something l= ike this be a valid command?

zdb -d <0xffffffffffffffff>:<0x0>

# zdb -d "<0xffffffffffffffff>:<0x0>"
zdb: can't open '<0xffffffffffffffff>:<0x0>': No such file or directory


For your zroo2 pool, try this:=C2=A0

zdb -d zroo2 '0xffffffffffffffff'<= /p>


Again, that's guesswork, and for what it's worth, I got this (for my august pool), trial and error:

root@mowa= 219-gjp4-8570p-freebsd:~ # zdb -d <0xffffffffffffffff>:<0x0>
Ambiguous input redirect.
root@mowa219-gjp4-8570p-freebsd:~ # sh
# zdb -d <0xffffffffffffffff>:<0x0>
sh: Syntax error: newline unexpected (expecting word)
# zdb -d august <0xffffffffffffffff>:<0x0>
sh: Syntax error: newline unexpected (expecting word)
# zdb -d august '<0xffffffffffffffff>:<0x0>'
zdb: Bad object or range: '<0xffffffffffffffff>:<0x0>': Invalid characters in start object ID

# zdb -d august '0xffffffffffffffff:0x0'
zdb: Bad object or range: '0xffffffffffffffff:0x0': Start object ID may not exceed end object ID

# zdb -d august '0xffffffffffffffff'
Dataset mos [META], ID 0, cr_txg 4, 924M, 1683 objects

=C2=A0=C2=A0=C2=A0Object =C2=A0lvl =C2=A0=C2=A0iblk =C2=A0=C2= =A0dblk =C2=A0dsize =C2=A0dnsize =C2=A0lsize =C2=A0=C2=A0%full =C2=A0type
zdb: dmu_object_info() failed, errno 2
# exit
root@mowa219-gjp4-8570p-freebsd:~ # zdb -d august 0xffffffffffffffff
Dataset mos [META], ID 0, cr_txg 4, 924M, 1685 objects

=C2=A0=C2=A0=C2=A0Object =C2=A0lvl =C2=A0=C2=A0iblk =C2=A0=C2= =A0dblk =C2=A0dsize =C2=A0dnsize =C2=A0lsize =C2=A0=C2=A0%full =C2=A0type
zdb: dmu_object_info() failed, errno 2
root@mowa219-gjp4-8570p-freebsd:~ #


--------------yIoPsG91408dhWyt4liJt7IG-- --------------JewqIdfq4buEjXzo9rrJ00jY-- --------------FSlMxVxeUzrL1qu0TAwMWnPN Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmOJq9AFAwAAAAAACgkQt2dIb0oY1Avq Zg//QwaxmU2OHTi7xjgVXzDW4qEb6ErPLkc8FFfdsMJsDkQ10F0S5UtrKQBsEhqZ1LNGsg3JO1et vPd3/7l//603++bbZPPyvzARH5Dc6QyTxFuBikslX1v6jJCXIIy4QrppAEmqxaP+OKWwSLB5FBqx P6zIfp+59LNw0Yx72clFvrDKBA1Vfzqg3e9BuhOqWQwsOqWKAujo+btbDeL4vQ0+tMxCzcn1AQ2r n9S1YDXMpKb4YdE+kixJ875dMkBgepH+vZ3VYXE+5Psp3eWxFfPENLgYC4vP5v2laNwXthmlxl8d cPYFOF0Ap5cz/l13Qzdzlkrfcj2QIQglNpOqfGKT9LH307s9zlSwZum12z9EUnc2qKh9IsQaAVUN mtb2p8YNoBIlFtXN3b3qAYiRgOgTm5OtCudIqNXOoIli4lNGBLTfvNDoRXX3wG7voJ49haUxrEnS GvGJa9mUTe0QTR+zvlQcRmU9N4JTLYLE7P3nd9cxoE8GjlrxHHTp/qaL/89aLKojQDOV3fgpbTPt ttRz1tDjkCjZz5ZF3GUid19K31jAMXA9tSDbwxfYy8nJaPR/PSWDvXjMF24ncZR2NZcSb0HzDBbx HHqgS7TECyFv0wg19p+qRj/QMEq81IxLW9JmF3ps4Wyw9Dp4hFhB3mIIPbbM4X8zUFfgqTfO+uUe 4Ks= =q9jZ -----END PGP SIGNATURE----- --------------FSlMxVxeUzrL1qu0TAwMWnPN--