btrfs: document df weirdness and how to better get usage

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-07-05 14:24:35 +02:00
parent 774366c351
commit 00271f41db

View File

@ -214,3 +214,13 @@ UUID=<uuid of your root file system> / btrfs defaults,compress=zstd 0 1
----
This change will take effect after rebooting.
Checking Space Usage
^^^^^^^^^^^^^^^^^^^^
The classic `df` tool may output confusing values for some btrfs setups.
For a better estimate use the `btrfs filesystem usage /PATH` command, for example:
----
# btrfs fi usage /my-storage
----