From nobody Sun Sep 26 21:31:18 2021 X-Original-To: freebsd-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 2C5D017DB39A for ; Sun, 26 Sep 2021 21:31:37 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HHf950WYLz56S0 for ; Sun, 26 Sep 2021 21:31:37 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id ee50so60712959edb.13 for ; Sun, 26 Sep 2021 14:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zmCa53L5IYAHYImvznLO47Qdg8XdPCgiZVNFtTWsTBE=; b=mPL/B0ebbNg1Da6ItwFLQq4oLcwXmJazKw91cQIvM8FAgvktzLqTBehBKc8WF25jmp 5rhifouqnWK61v2YQajsLL9TJ5ZQkLBd42FTtzMl/T9jnr8L2JChzJT+z6prUoW5Wwn4 JFp+Z9Pxoz026rVMgL2ypErRDdCRb8u3kUuoVBoXIvd/2xzjbaklVjBWxbnzspMP/OYl tNQ9J6xh9Qp2Vu+1woAVA6wvCN+5T9RSe/ojP71SFhfh7eNtqw4jmFJ+zrGmOqnyiF/P DgJSfBSKsp9fsIK2z86dMztlXRbyHYhi9VJ7SVY4k3oMu31xfhmGkX4uS6sNAGGhlxDC ylkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zmCa53L5IYAHYImvznLO47Qdg8XdPCgiZVNFtTWsTBE=; b=b+K9BR783TC80zziXkwz7vJ6qay+zT3DBxpNKMI/Kqhp1Ch8Lv9rpqADPKtLAdyfog bcTlv6Kh/JD9FDaoiaPU/FmhB4+fkj8XxbEOXMiQHCpdrLBKrHoSWEp34Uka9AHS6Alb i/lByzGke1SDLhuuFAfFCJPiGKRKyWv00xejUx4MODpRr48TXNMjOerdAsPAG4q+pvMK +0WEPanuLlIY90SCyHyiM4+SHw53q86cZBtX5l9ABDeqTvCz1hwLI6MqXWqCTgzmlfYZ K0ExZn7ukp9By8+G6SYJhk+9XHvsvgOpZp3Ru/IDRc5Xtht36PiEMmiA3YxrjL82rSRt jMEA== X-Gm-Message-State: AOAM5307ESZuNs2wmVqfkTJFsY97c1WbXSGnSncgvogl89Ky84/nS2Ys 8QfO+KMcwNHrAj40KOtzClqtM3v6TV7aiz7ObA== X-Google-Smtp-Source: ABdhPJxt/x38UQ+8PLVG1QO6SdSOpqzvYIvQGE5dn9oi1HtvOqitaY25G1Yqrq/nj3BnEVT/lYrBO23AvArxxARzhBo= X-Received: by 2002:a17:906:8396:: with SMTP id p22mr10753603ejx.140.1632691889924; Sun, 26 Sep 2021 14:31:29 -0700 (PDT) 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 References: <33176b34-6929-57fb-2e3f-bd3e9396fe01@quip.cz> In-Reply-To: From: Zaphod Beeblebrox Date: Sun, 26 Sep 2021 17:31:18 -0400 Message-ID: Subject: Re: ZFS errors with two HEX numbers. To: Rich Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-fs Content-Type: multipart/alternative; boundary="000000000000206d7f05ccecb422" X-Rspamd-Queue-Id: 4HHf950WYLz56S0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000206d7f05ccecb422 Content-Type: text/plain; charset="UTF-8" Entertaining. That (even with only two --> zdb -dd vr1/0x57b2) gives ... core dump. SIGSEGV in strlen. Dereferencing a NULL. (gdb) bt #0 strlen (str=0xd ) at /usr/src/lib/libc/string/strlen.c:101 #1 0x0000000800f6ea60 in __vfprintf (fp=, locale=0x80102eed8 <__xlocale_global_locale>, fmt0=, ap=) at /usr/src/lib/libc/stdio/vfprintf.c:854 #2 0x0000000800f6b8df in snprintf (str=0x801644400 "", n=, fmt=0x8009ad9b9 "%s/%s") at /usr/src/lib/libc/stdio/snprintf.c:74 #3 0x0000000800a58b76 in zfs_file_open (path=path@entry=0x801644000 "/etc/zfs/zpool.cache", flags=, flags@entry=0, mode=, mode@entry=0, fpp=fpp@entry =0x7fffffe58788) at /usr/src/sys/contrib/openzfs/lib/libzpool/kernel.c:1075 #4 0x0000000800b3e622 in spa_config_load () at /usr/src/sys/contrib/openzfs/module/zfs/spa_config.c:101 #5 0x0000000800b47b39 in spa_init (mode=mode@entry=SPA_MODE_READ) at /usr/src/sys/contrib/openzfs/module/zfs/spa_misc.c:2393 #6 0x0000000800a586ae in kernel_init (mode=1) at /usr/src/sys/contrib/openzfs/lib/libzpool/kernel.c:844 #7 0x0000000000405984 in ?? () #8 0x00000000004052df in ?? () #9 0x0000000800637008 in ?? () #10 0x0000000000000000 in ?? () On Sun, Sep 26, 2021 at 12:53 AM Rich wrote: > I don't have a testpool handy to confirm it, but I would expect you to > be able to do something like > zdb -ddddd [pool]/[objsetid in hex] [objectid in hex] > e.g. > zdb -ddddd vr1/0x57b2 0x73ab46 > > Or failing that, drop the object id (and then probably some of the -d, > that gets real verbose). > > - Rich > > On Sun, Sep 26, 2021 at 12:27 AM Zaphod Beeblebrox > wrote: > > > > How do I find which snapshot it's in? > > > > On Sat, Sep 25, 2021 at 6:01 PM Miroslav Lachman <000.fbsd@quip.cz> > wrote: > > > > > > > > > > > I have seen this in the past. It was corruption on some deleted file > > > preserved on snapshot. Once I deleted snapshots this error disappeared. > > > > > > [...] > > > > > > Miroslav Lachman > > > > --000000000000206d7f05ccecb422--