New to btrfs and their snapshots. Been working with them on some test boxes and noticed that after large sets of patches getting applied the size of the snapshots can grow rapidly.
On SLES 11 we could comfortably keep / on 15 GB disks, we keep applications and users on other drives. Does anyone have rules of thumbs or sizing information for snapshot growth?
On one of our test boxes that had been 54% full before I installed patches earlier this month it went to 92% full because of the number of snapshots created during the patching.
I’ve looked around on line and can find docs on how snapshots work, but no best practices or things to watch out for.
I’ve seen some suggestion on here to reduce the number of snapshots kept, and that seems to make some sense, and would reduce the amount of drive space devoted to snapshots.
There is a daily cronjob in /etc/cron.daily/suse.de-snapper, if after a
big update you can run this manually, there should also be a weekly
cronjob /etc/cron.weekly/btrfs-balance.sh again, manually run should
clean up things as well. It’s a softlink to;
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.53-60.30-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!