7 comments
@tippfehlr Also see example in Arch wiki https://wiki.archlinux.org/title/snapper#Suggested_filesystem_layout @akhil that explains it – although instead of mv /mnt/subvol_root /mnt/subvol_root.broken i could also do btrfs subvol snapshot -r /mnt/@ /mnt/@ backup the first is harder to mess up though, true. @tippfehlr systemd-boot config also has hardcoded subvolume in Arch. Let me know if you find what should be modified to get systemd-boot use the default subvolume. |
@akhil
> This setup will make all snapshots created by Snapper be stored outside of the @ subvolume. This allows replacing @ without losing the snapshots.
I have seen this multiple times already, but as with all other subvolumes, they are automounted when the parent subvolume is mounted and aren't included in snapshots, just like @/var/cache
So @/.snapshots and @ snapshots works just the same (except @/.snapshots gets automounted).
Correct me if I'm wrong.
#archlinux #btrfs
@akhil
> This setup will make all snapshots created by Snapper be stored outside of the @ subvolume. This allows replacing @ without losing the snapshots.
I have seen this multiple times already, but as with all other subvolumes, they are automounted when the parent subvolume is mounted and aren't included in snapshots, just like @/var/cache