![]() Post | 3 | 2 | Sun 08:24:00 PM UTC | root | number | /usr/bin/dnf update -y kernel | Pre | 2 | | Sun 08:23:32 PM UTC | root | number | /usr/bin/dnf update -y kernel | Single | 1 | | Sun 08:21:00 PM UTC | root | | BigBang | System by updating the kernel: ~]# dnf update -y ~]# rpm -q ~]# snapper ls Since we took a snapshot let’s go ahead and make some changes to the Want to use one of the snapshots for rollback. Into the root subvolume but that will change as soon as we decide we This outputs what the currently set default Notice at the top of the output of the sections that we ran a btrfs subvolume get-default /. We made our first snapshot called BigBang and then ran a btrfs subvolume list / to view that a new snapshot was actually created. ID 261 gen 47 top level 260 path ~]# ls /.snapshots/1/snapshot/īin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var Single | 1 | | Sun 08:21:00 PM UTC | root | | BigBang ~]# btrfs subvolume list / ID 5 ~]# snapper create -description ~]# snapper ls Subvolume in /etc/fstab we can start creating snapshots: ~]# btrfs subvolume get-default / OK, now that we have snapper installed and the. snapshots subvolume and all nested subvolumes (snapshots): ~]# echo '/dev/vgroot/lvroot /.snapshots btrfs subvol=.snapshots 0 0' > /etc/fstab Subvolume we are actually booted in we will always be able to view Next, we’ll add an entry to fstab so that regardless of what House the COW snapshots that are taken of the system. See from the btrfs subvolume list / command that snapper alsoĬreated a. We used the snapper command to create a configuration forīTRFS filesystem mounted at /. Single | 0 | | | root | | current ~]# snapper list-configs Type | # | Pre # | Date | User | Cleanup | Description | Userdata Install the dnf plugin for snapper so that rpm transactions willĪutomatically get snapshotted: ~]# dnf install -y snapper ~]# snapper -config=root create-config ~]# snapper ls Next up is installing/configuring snapper. ~]# btrfs quota enable ~]# btrfs qgroup show / Size each snapshot has taken so I’ll go ahead and enable quota I still want to be able to track how much ![]() Installing and Configuring SnapperĪfter the system has booted for the first time, let’s configure the None of the kickstart directives at the top of the kickstart file actually get used. It’s basically like just tellingĪnaconda to run a bash script, but allows you to do it in an automated way. The kickstart file doesn’t really leverage Anaconda at all because it simply runs a Script into a kickstart file that you can use. Please read over the script and modify it to yourĪlternatively, for an automated install I have embedded that same Afterīooting up you can scp the script over and then execute it toīuild the system. You can easily enable ssh access to your Anaconda booted machine byĪdding inst.sshd to the kernel command line arguments. ![]() Will need to be run in an Anaconda environment just like the manual This time around I have created aĬonfigure the system with LUKS + LVM + BTRFS. ![]() The manual steps for setting up the system are detailed in theīlog post from Fedora 22. Setting up System with LUKS + LVM + BTRFS The next time I write one of these posts it may be about Atomic WorkstationĪnd not BTRFS snapshots. Upgrades and Rollbacks for the system software delivered in the Ostree. It offers Fedora Workstation content via an OSTree and thus Atomic Updates to Fedora Atomic Workstation (iso here). The project I work on every day is now producing and delivering Alternatives: Fedora Atomic Workstationīefore I continue with this blog post I think it is worth noting that This is a condensed continuation of those posts for Fedora 27. In the past I have documented this setup and all the steps I took in Recently Fedora developer Peter Jones, Fedora contributor Neal Gompa I have some great news this time! You no longer needĪ patched version of Fedora’s grub package in order to pull this off. Snapshots, a tool called snapper, and a patched version of Fedora’s As you know, in the past I have configured my computers to beĪble to snapshot and rollback the entire system by leveraging BTRFS ![]() I’m back again with the Fedora 27 edition of my Fedora BTRFS+Snapper ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |