On Tuesday, 28 February 2017 18:39:31 CET Andrei Borzenkov wrote:
28.02.2017 17:45, Werner Flamme пишет:
Unfortunately, I do not know a way to make snapper tell how many space the snapshots gobble up,
You can see how much exclusive data is held by subvolume (which snapshot is) with
btrfs qgroup show
This should work at least on new 42.2 installations that enable quota on btrfs by default. Unfortunately, qgroup does not show you subvolume names, you need to match group ID (those starting with 0/...) against subvolume ID from "btrfs subvolume list". Snapper wrapper around it matching size to snapshots would indeed be nice.
"Exclusive data" is as best approximation to "snapshot size" as you can get. This shows you how much free space you gain when deleting subvolume^Wsnapshot.
for named volumes and human readable size there is a script: btrfs-size.sh on https://github.com/agronick/btrfs-size/blob/master/btrfs-size.sh -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org