If you have btrfs on your root file system on http://www.opensuse.org/en/, then two things will happen:
- openSUSE will automagically start using snapper to take snapshots of your root file system.
- the snapshots will take up diskspace that du doesn’t show
This means that you will run out of disk space sooner than you’d expect. So the recommendation (not in the docs) is to make partitions that use snapshots twice as large as you normally would.
I have not found a way to show the size per snapshot or the total size of all snapshots.
So you have to monitor your free disk space with df or this btrfs specific command for the root (/) file system:
btrfs filesystem df /
Cleaning up snapper snapshots
Thanks to NerdyRoom™ » The joys of btrfs and OpenSuSE – or “no space left on device”.
I found out the easiest way to delete older snapshots that you might want to delete (and you have to when you run out of disk space).
First run snapper list to see the sequence number of snapshots that are there.
From that list, select a reasonable lower and upper bound of snapshots to delete.
Then run this with the lower (1) and upper (3656) bound:
for i in `seq 1 3656`; do snapper delete $i; done






Nice diskinfo alias showing du, df, btrfs, parted, lsblk « The Wiert Corner – irregular stream of stuff said
[…] bumped into a disk full issue again because of the btrfs/snapper combination in openSuSE and df basically lying about the disk […]