this post was submitted on 20 Apr 2025
70 points (100.0% liked)
Linux
7063 readers
998 users here now
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Pros: it has tools associated with it like snapper that help with keeping system functional
Cons: will eat space of your root drive, and you shouldn't use it for your /home
Why?
will eat the space of your home drive even more because you constantly change your home drive and btrfs snapshots grow to be gigabytes in size as a result
To be more precise, you don't really want to use the snapshotting in the home-directory. You can still use btrfs itself and for example, openSUSE sets it up so the home-directory is in a btrfs subvolume that's excluded from snapshots.
At the very least, you'd want the snapshots in the home-directory to be independent from the rest of the OS, so that you don't end up rolling back what you've worked on when you want to roll back a faulty OS update.
Well, and you also just want proper backups of your home-directory, so the snapshots are not as useful...
This is how I understand subvolumes, that unless specified otherwise, they're excluded from snapshots taken of parent folders, so by making /home a subvolume is less about taking snapshots of that folder, and more about ensuring that taking snapshots of / doesn't include /home.