]> git.proxmox.com Git - pve-docs.git/commitdiff
btrfs: document df weirdness and how to better get usage
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 5 Jul 2021 12:24:35 +0000 (14:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 5 Jul 2021 12:24:35 +0000 (14:24 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
local-btrfs.adoc

index d7a94f719e82dfde977193db01abbe86efdc56a3..f68e30df1e6c2bee64d5455652ca9d1f23014f84 100644 (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
+----