I'm cleaning up my notes now that I'm committed to running FreeBSD on my desktop full-time. I noticed that when I run freebsd-update it creates a snapshot of the environment? So, in theory, I shouldn't need to create one prior to running the command. Is what freebsd-update doing sufficient if...
The freebsd-update utility automatically creates Boot Environment snapshots using bectl if the system supports it. I am curious, does pkg upgrade have any similar capability?
I have used beadm and now bectl to create boot environments (then activate them, then update) for a long time, but now...
Prior to "properly" understanding BEs (Boot Environments) I used the following workflow:
bectl create 20220312
bectl activate 20220312
shutdown -r now
# perform actual update (eg. freebsd-update or update from source)
shutdown -r now
This basically means that I create a new BE, boot into it...
I just completed upgrading a few boxes from 12.x to 13.1-RC4 and kept some running notes in a TXT file.
May it help you.
------------------- Get the souce --------------------
# git clone -b releng/13.1 --depth 1 https://git.freebsd.org/src.git /usr/src
Using "bectl" I create boot-environments.
Now i want these boot-environments to be as "small/little" as possible.
I can do this by moving directories in separate datasets.
A few directories which come to my mind to remove them from the boot-environment are:
I have some questions regarding bectl after reading the corresponding manual.
1. The section for bectl create tells us that the -r flag creates a recursive boot environment. I'm not sure whether I understand what this exactly implies. So far I've only used bectl create without any additional...
I'd like to figure out how to do an upgrade with the ability to rollback fully if anything goes wrong.
Taking into account the info from the following topics:
Today I was honored to give 𝗭𝗙𝗦 𝗕𝗼𝗼𝘁 𝗘𝗻𝘃𝗶𝗿𝗼𝗻𝗺𝗲𝗻𝘁𝘀 𝗥𝗲𝗹𝗼𝗮𝗱𝗲𝗱 talk at the 𝗡𝗟𝗨𝗨𝗚 𝗔𝘂𝘁𝘂𝗺𝗻 𝗖𝗼𝗻𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝟮𝟬𝟭𝟴 (@nluug).
You may find the PDF slides useful as they contain information about upcoming bectl in FreeBSD 12.x and also mini-howto at end on how to install FreeBSD with root on ZFS on top of GELI...
New bectl tool imported to FreeBSD base as replacement for beadm tool from FreeBSD Ports.
I have made small comparison in New ZFS Boot Environments Tool article.
The bectl is already available in 12.0-ALPHA2 image...
A New ZFS Boot Environment Management Library & Tool For FreeBSD | Google Summer of Code
kneitinger please, would you like to say a few words here?
Or should we await the next FreeBSD status report?
beadm in base
2017-07-25 in IRC: