Is there a command to get the on-disk size of a btrfs subvolume?
The file system was mounted with
-o compressed and the subvolume contains a lot of files that should compress rather well. I could use
du on the root folder but then I will only get the sum of the uncompressed sizes and it is also relatively slow compared to a
(Note: This question is not about the size of the unique data contained in this subvolume and how much it derived from other snapshots in a COW fashion.)
btrfs filesystem df /subvol?
btrfs filesystem df /(the command called on the root of the btrfs file system). I should add that the version of my userspace tools is
v0.20-rc1and that I use the current Ubuntu 13.10 kernel (
3.11.0-20-generic #35-Ubuntu), though I don't want to narrow the question down to old versions if it is possible in current or future releases.