Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2022 18:34:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253445] bectl: does not function in two-level zfs datasets
Message-ID:  <bug-253445-227-X9TQz5jPh8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253445-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253445-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253445

--- Comment #38 from Jonathan Vasquez <jon@xyinn.org> ---
I've converted my existing one layer set up to a two layer one so I now have
the option of either using bectl or doing the snapshotting/cloning myself, =
and
still be compatible with the boot environment feature in the loader. I've a=
lso
updated my guide recommendation accordingly:
https://xyinn.org/md/freebsd/zfs_manual_partition_encrypted

previous layout (all 'canmount' options were 'on'):

tank
tank/os <- this would have a mountpoint set to /
tank/home <- /home

new layout

tank
tank/os <- canmount=3Doff, mountpoint=3Dnone
tank/os/main <- main / dataset, canmount=3Dnoauto, mountpoint=3Dnone
tank/home <- /home

I can now either manually do a:

zfs snapshot tank/os/main@test
zfs clone tank/os/main@test tank/os/test

and reboot and select "tank/os/test" in the bootloader's boot environment
selection, and if it's good I can do a promotion and a deletion and set
'bootfs' on my pool accordingly if needed

or I can do 'bectl create test' and 'bectl activate test'.

I still think this feature is useful but not as high priority for me anymor=
e..
I do prefer my new slightly modified layout :).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253445-227-X9TQz5jPh8>