On 07/15/2015 11:09 AM, Istvan Gabor wrote:
This applies to openSUSE 13.2 system with its default btrfs file system. So far the system has crashed two times because of snapshots occupied all free space.
How can I make sure that it will not happen again?
I can think of a number of things. 1. Configure your snapshots properly. That has been discussed many times on the forum. Edit /etc/snapper/configs/root down to the minimal requirements. Unfortunately I know of no simple way to exclude subvolumes. 2. This is pretty important. Exclude things from the root FS There are good reasons to have the rootFS (and hence quite possibly the initrd) as small as practical. There are EXCELLENT reasons to have /boot on a separate partition, not least of all when you have to performs a recovery the times the rootFS goes haywire. There are (still) pretty good security reasons to have /tmp (and /var/tmp) on a separate partition. Among those good reason are things like ... you really don't want snapshots of what's in /boot and the many, many scratch files /tmp .... I'd also consider putting /var on a separate file system. Again you don't need snapshots of all the caches that live there. Yes, you will need to be more sure of the backups of things like /var/lib. That's BACKUPS not snapshots. The "Why?" Well at the very least you will reduce the amount of stuff that gets in /.snapshots! This isn't just about purging it, its about the 'surges'. You don't NEED to include things like your caches and scratchfiles in your snapshots in the first place. I could question why home users need to have the rootFS snapshotted at all. I could make a good case that the way many people work a single user system should be snapshotting /home/<usr>/Documents I could make a good case that for many home users BtrFS is more trouble than its worth. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org