I've enabled compression (mounted with compress=lzo
) for my btrfs partition and used it for a while.
I'm curious about how much benefit the compression brought me and am interested in the saved space value (sum of all file sizes) - (actual used space)
.
Is there any straightforward way to get this value, or would I have to write a script that sums up e.g. df
output and compres it to btrfs filesystem df
output?
Best Answer
In Debian/Ubuntu:
In Fedora:
output is like this: