On 22.04.20 23:03, Chris Murphy wrote:
What's the gotcha? Well, my /var has been rolled back, and also the
systemd journal. OK so I could make /var/lib/libvirt and /var/log
subvolumes so they don't get snapshot and rolled back. What I tend to
do is put those in the top level of the file system, and have fstab
entries to mount them to the proper location during startup, that way
I don't have to worry about manually fixing things on a rollback.
Thanks for your time and answer.
I tend to lean on the fedora layout as far as my limited knowledge
allows to calculate the impacts so far :-(
I do not understand what is meant by the statement:> What I tend to do
is put those in the top level of the file system
I guess the storage for the snapshots is meant. So if I understand right
you have a directory /snapshots in the dir tree where they will be
stored. I know about the fact that a nested subvolume (subvolume in
another subvolume) will not get snapshotted. But it is not clear to me
if you are using this fact in your layout (make i.e. /var/log a separate
subvolume) or not. Also it is not clear to me, why you put the snapshots
in the top level of your filesystem.