From nobody Thu Apr 25 07:01:42 2024 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 4VQ6Gg38Fjz5K7LF for ; Thu, 25 Apr 2024 07:01:47 +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 4VQ6Gg24RHz4cVx for ; Thu, 25 Apr 2024 07:01:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714028507; a=rsa-sha256; cv=none; b=tr+LfZSj6J3cyWOVwWdYCrJrUhwCIJK1SD8H/uDbIz4ONYZBmdltJWCjQvZL3mk8gxF8T+ 1bCki/voA2EWmASXa5k0p0ToC2xjwNoccvPmtltDjAfncWqFaXh1a2myqWFcORFS4FDOTM Of061J3CA6IymHg4tnkc/lew/+h5e7G/J5fq7AgszKRJ2a7RWAQTB2LZl+/jUclakW6B/K FM/Y6+r1kns/qNZqUP4TkJErGIFWCpUKwnrurmioQ8UDC/4Z4TK61zWlh91Lwzbvh2mEB/ D71seidSEfyEDAb1uw4+yuHJK5xpqTbK5ZbH+csj1VjPTUtS/FCvaf2r5AUB9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714028507; 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=WQ5XEOTBc4cjdzJYMF0JSyqVU0h0iN/MVQ+q8XgAPI0=; b=W605FpVL0FctAniaTHO4+wecocMbhpd9qv7POzODxWBM7a1EJBMQbU8fb1OOzIUF6aawfG AThE8oK2/HEDatmzsOba2vH+fyCtclA7j8/qVbO651D0jOvrryDybCEf5PJeCxktgi/P+p xkRyjCPe4BEiPzPSC5mh/OYoCLKMs4utnHaDXzHAxDgcjxp+BJgfilZikatuRTPUeqHsSL 4kTovNKmR9DynS4LILGSleADLkaLDbBSVDYOqIssSvSNC6KKZi05Ii8ggTgMcF3QnykR4h 37rvoXffiSrUlvSVZCvrPhD8yTXiwpVRiYDmlYS45Pr5dMOqo6+ByDuOO7eH5g== 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 4VQ6Gg1gqpzq2k for ; Thu, 25 Apr 2024 07:01:47 +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 43P71lr8039680 for ; Thu, 25 Apr 2024 07:01:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43P71lpX039612 for fs@FreeBSD.org; Thu, 25 Apr 2024 07:01:47 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 278414] Reproducible zpool(8) panic with 14.0-RELEASE amd64-zfs.raw VM-IMAGES Date: Thu, 25 Apr 2024 07:01:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: editor@callfortesting.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278414 --- Comment #13 from Michael Dexter --- Perhaps you would like to experiment with a makefs -t zfs image. This is the syntax used by /usr/src/release/tools/vmimage.subr with a 128m image: mkdir -p /tmp/rootfs/ROOT/default mkdir -p /tmp/rootfs/usr/ports mkdir -p /tmp/rootfs/var/audit makefs -t zfs -s 128m -B little -o 'poolname=3Dzroot' -o 'bootfs=3Dzroot/ROOT/default' -o 'rootpath=3D/' -o 'fs=3Dzroot;mountpoint= =3Dnone' -o 'fs=3Dzroot/ROOT;mountpoint=3Dnone' -o 'fs=3Dzroot/ROOT/default;mountpoint= =3D/' -o 'fs=3Dzroot/home;mountpoint=3D/home' -o 'fs=3Dzroot/tmp;mountpoint=3D/tmp;exec=3Don;setuid=3Doff' -o 'fs=3Dzroot/usr;mountpoint=3D/usr;canmount=3Doff' -o 'fs=3Dzroot/usr/ports;= setuid=3Doff' -o 'fs=3Dzroot/usr/src' -o 'fs=3Dzroot/usr/obj' -o 'fs=3Dzroot/var;mountpoint=3D/var;canmount=3Doff' -o 'fs=3Dzroot/var/audit;setuid=3Doff;exec=3Doff' -o 'fs=3Dzroot/var/log;setuid=3Doff;exec=3Doff' -o 'fs=3Dzroot/var/mail;atime= =3Don' -o 'fs=3Dzroot/var/tmp;setuid=3Doff' /tmp/raw.zfs.img /tmp/rootfs Note: zdb -l /tmp/raw.zfs.img zpool import -d /tmp/raw.zfs.img truncate -s 128m /tmp/img.raw zpool create foo /tmp/img.raw zpool export foo zpool import -d /tmp/img.raw The img.raw created with truncate and zpool create can be imported while the makefs one reports: pool: zroot id: 17927745092259738836 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E config: zroot UNAVAIL=20 insufficient replicas /tmp/img.raw UNAVAIL invalid label --=20 You are receiving this mail because: You are the assignee for the bug.=