From nobody Tue Nov 19 01:24:35 2024 X-Original-To: bugs@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 4Xsmxb2pkYz5dLfR for ; Tue, 19 Nov 2024 01:24:35 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xsmxb0QhBz4rZK for ; Tue, 19 Nov 2024 01:24:35 +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=1731979475; 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=VFGECX1fzwPkmIxUNsMSyRjqEDtBAVNEP52xqLhOy7c=; b=OS14B87DjRDHdHHzXZN73iMhkFv209aViWF0jpduhNI5FGbY3/vkalRtxTdiftlrTqHuab 6CdePqSsPD00x2PL/EjFL0hs4PnDdmFW7V9RrMujSgC8aZvPE1XC85wvQhVkwyN8fcOAKk IL2R0Kyo/2DpvUhSS/f3v47Wr7PI6/GbWTl6BJLMyTQeCkq2ItCRpFti8onB40nTnOCugm efLOLvXtzaGudKAEvZJ8DuRYCg5iZOni30L/2etedXLYOPmBQoSzh4x8Y3x/FOneJ+3ihY KZoFZ0iyS5+U9+Bpq0XycAtNY+fwgeSVI52pQ8SRXbsgEoVL5CTkewbXW8SS7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731979475; a=rsa-sha256; cv=none; b=HSg4pia3zHjWBNxYTeoTWeTaWze51M6cH0XC/T5oMfK/XmLuCp/2VTFnVaw2LTkj3zrbig Ye4xYEZjmxldB7DC14u/9s6cCPOQ0gVoyxpoIR/TRwlQFrV0m+lRyNVKfT+RhfReeALDQL 1ymvYfwOjL+TH/2tagLcwmV95KH8xTiTHuZGGuVkXnF6yfCXuQRDyRVSXc7u3YCklo1uAg fDQXQnIy8tTgUQsBdycatXvjk8Tm7Huf/nO1GJiYyGVebogIGruDHKkssjiu0qNPPN27t8 WhmlGb3DJUGrV9SViPvvlYOXB5/5ODQPah9LcEMzO8uPscOuJjQLcxQF5fGJvg== 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 4Xsmxb02zGz143D for ; Tue, 19 Nov 2024 01:24:35 +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 4AJ1OYJp074453 for ; Tue, 19 Nov 2024 01:24:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AJ1OYBN074452 for bugs@FreeBSD.org; Tue, 19 Nov 2024 01:24:34 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: bugs@FreeBSD.org Subject: [Bug 282832] makefs zfs creates images with the same guid Date: Tue, 19 Nov 2024 01:24:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282832 --- Comment #12 from Mark Johnston --- (In reply to Pat Maddox from comment #11) If I use your makefile, but modify the bhyve/bhyveload invocation to boot t= he official 14.2-BETA2 zfs image[1], it boots fine. I verified that all three pools have the same guid, per zdb -u it's 4116862866898151352. So I suspect that there's something else going on, and that importing one of the pools h= as some side effect which fixes the problem. In particular, if I generate zdata.zfs using your script, then boot the 14.2 image into single user mode (so reguid hasn't run), I can see that both poo= ls have the same GUID and yet the kernel was able to mount root successfully. = So something else is going on. root@:/ # zdb -l /dev/ada0p4 ------------------------------------ LABEL 0=20 ------------------------------------ txg: 4 version: 5000 state: 1 name: 'zroot' pool_guid: 4016146626377348012 top_guid: 100716240520803340 guid: 100716240520803340 vdev_children: 1 features_for_read: vdev_tree: type: 'disk' ashift: 12 asize: 5363990528 guid: 100716240520803340 id: 0 path: '/dev/null' whole_disk: 1 create_txg: 4 metaslab_array: 2 metaslab_shift: 29 labels =3D 0 1 2 3=20 root@:/ # zdb -l /dev/ada1 ------------------------------------ LABEL 0=20 ------------------------------------ txg: 4 version: 5000 state: 1 name: 'zdata' pool_guid: 4016146626377348012 top_guid: 100716240520803340 guid: 100716240520803340 vdev_children: 1 features_for_read: vdev_tree: type: 'disk' ashift: 12 asize: 100139008 guid: 100716240520803340 id: 0 path: '/dev/null' whole_disk: 1 create_txg: 4 metaslab_array: 2 metaslab_shift: 24 labels =3D 0 1 2 3=20 I tried booting with all three pools, and that works too. [1] https://download.freebsd.org/releases/VM-IMAGES/14.2-BETA3/amd64/Latest/Fre= eBSD-14.2-BETA3-amd64-zfs.raw.xz --=20 You are receiving this mail because: You are the assignee for the bug.=