From nobody Thu Mar 10 10:08:01 2022 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 EDB581A139C8 for ; Thu, 10 Mar 2022 10:08:01 +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 4KDlB94NKNz4lLZ for ; Thu, 10 Mar 2022 10:08:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 7649023009 for ; Thu, 10 Mar 2022 10:08:01 +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 22AA81VN002628 for ; Thu, 10 Mar 2022 10:08:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22AA81KP002627 for bugs@FreeBSD.org; Thu, 10 Mar 2022 10:08:01 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 262461] After manual partitioning the disk, installer installs "ZFS on root" directly on the pool not under separate ZFS datasets Date: Thu, 10 Mar 2022 10:08:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: parv.0zero9+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646906881; 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; bh=d+WIqzpUBkFdb30UE44VWmKTu41JrPHfXaxeTnWoGv4=; b=uIR63MGRa22ohnKf/bfN1NB4M2ujQQJ4zKtVyuYbnbj1uRs+Ziv/zQrFpQchXgP1BOhRTR xKls+zDqaafLZ7sAc5enM74AnK8oQMyXKDSHiriLtBmag93iXhCYU+ll8XT7KRYbxRNiz7 4CPryKLdjZIX06Neo0fBF0hKKnoFDJ7GHUVQ99XwVODw52B1Q4yqZiNebGTkYU9797KXRv Xw0aiXFH/Hyy0m6oiAX9xhZw2ocLClz5I6k08iSUMFYEyu6Ir1yL+z0UdAUVlrdZp6h7rf EvnykbmrsOUV0t7Q8xbPx+gIlT3IsZNaMw2mIbVLdIS7PDSW5/FYY43SvuO+eg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646906881; a=rsa-sha256; cv=none; b=EmOHvVzxQNB5QXm+H0Jq3wiqpFoPWDtCe2h/ijcMIPnl5BDj/xiP8Qgb2jjGiwzMmMufNa yLXBgPJ+0/BLlqL9cj4wECsRwQGQnySySv6Lafw5euTdqEdLBds6/yEJvY/gulJyB4YZ2G ia8MLR1t6rniP7F8C3R2yb60WJAv93mBOmTN9vafTRetZOr7Zpf7Rux5XcRTNBmdmF0ro/ tJA/5iKnLodzYPUT2eBtvIp8jm0BO9GCzPH/kbkmGjRJjNbiyOTVv7g7RHq5I8s09tqYs6 KlXbMDdjIfa5Cr0I11EVVgE0xiJjV3ZDEUyD/sPQgqRRGw+le9fH01WVpWmvFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262461 Bug ID: 262461 Summary: After manual partitioning the disk, installer installs "ZFS on root" directly on the pool not under separate ZFS datasets Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: parv.0zero9+freebsd@gmail.com My issue with "Auto" mode of "ZFS on root" in the installer (at least of 13.0-RELEASE*) is that the pools takes over the whole disk, minus the space= for EFI & swap. So before installing 14-CURRENT snapshot of 2022-03-03, I chose= to manually partition the disk. Installer -- of both snapshots -- installs "ZFS on root" directly on the po= ol after manual partitioning the disk. There are no separate ZFS datasets simi= lar to what "Auto" method would have done. I had also created a separate partition for "/var". Again, everything was installed on the pool; there were no separate datasets as is the case in "A= uto" mode. (Installer from 13-STABLE snapshot of the same vintage also resulted in the same issue.) This results in not being able to use "bectl(8)" to manage boot environments ... # bectl list libbe_init("") failed. "root" is the pool on 35 GB partition at /dev/nvd0p4 where base system had = been installed directly using the 14-CURRENT snapshot. Disk & ZFS layout after install (layout & content of "alt_base", "home", "misc" pools have changed since but they do not matter for the issue) ... +zsh:9> gpart show /dev/nvd0 =3D> 40 976773088 nvd0 GPT (466G) 40 409600 - free - (200M) 409640 33554432 2 freebsd-swap (16G) 33964072 73400320 3 freebsd-zfs (35G) 107364392 532480 1 efi (260M) 107896872 72867840 4 freebsd-zfs (35G) 180764712 44040192 5 freebsd-zfs (21G) 224804904 524288000 6 freebsd-zfs (250G) 749092904 227680224 7 freebsd-zfs (109G) +zsh:9> gpart show -l /dev/nvd0 =3D> 40 976773088 nvd0 GPT (466G) 40 409600 - free - (200M) 409640 33554432 2 swap0 (16G) 33964072 73400320 3 altbase0 (35G) 107364392 532480 1 (null) (260M) 107896872 72867840 4 root0 (35G) 180764712 44040192 5 varbase (21G) 224804904 524288000 6 home0 (250G) 749092904 227680224 7 misc0 (109G) +zsh:9> zfs list NAME USED AVAIL REFER MOUNTPOINT alt_base 364K 33.4G 24K /alt-root alt_base/backup 24K 33.4G 24K /alt-root/backup home 3.48G 237G 27K /home home/aa 18.9M 237G 18.9M /home/aa home/freebsd-ports 1.32G 237G 1.32G /home/freebsd-ports home/freebsd-src 1.75G 237G 1.75G /home/freebsd-src home/pkg-save 188M 237G 188M /home/pkg-save home/ports-distfiles 216M 237G 216M /home/ports-distfiles misc 389M 104G 389M /misc misc/build-ports 24K 104G 24K /misc/build-ports misc/build-world 24K 104G 24K /misc/build-world misc/ccache 24K 104G 24K /misc/ccache misc/ccache-user 24K 104G 24K /misc/ccache-user root 2.46G 31.0G 2.46G none temp 475K 225G 24K /temp temp/log 115K 225G 115K /temp/log var 663M 19.2G 662M /var var/crash 24K 19.2G 24K /var/crash var/log 72.5K 19.2G 72.5K /var/log var/mail 31K 19.2G 31K /var/mail +zsh:9> zpool list -v NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP=20= =20=20 HEALTH ALTROOT alt_base 34.5G 364K 34.5G - - 0% 0% 1.00x=20= =20=20 ONLINE - nvd0p3 34.5G 364K 34.5G - - 0% 0.00% -=20= =20=20 ONLINE home 248G 3.48G 245G - - 0% 1% 1.00x=20= =20=20 ONLINE - nvd0p6 248G 3.48G 245G - - 0% 1.40% -=20= =20=20 ONLINE misc 108G 389M 108G - - 0% 0% 1.00x=20= =20=20 ONLINE - nvd0p7 108G 389M 108G - - 0% 0.35% -=20= =20=20 ONLINE root 34.5G 2.46G 32.0G - - 0% 7% 1.00x=20= =20=20 ONLINE - nvd0p4 34.5G 2.46G 32.0G - - 0% 7.13% -=20= =20=20 ONLINE temp 232G 475K 232G - - 0% 0% 1.00x=20= =20=20 ONLINE - da0 232G 475K 232G - - 0% 0.00% -=20= =20=20 ONLINE var 20.5G 663M 19.9G - - 0% 3% 1.00x=20= =20=20 ONLINE - nvd0p5 20.5G 663M 19.9G - - 0% 3.15% -=20= =20=20 ONLINE --=20 You are receiving this mail because: You are the assignee for the bug.=