]> git.proxmox.com Git - pve-docs.git/blobdiff - local-btrfs.adoc
storage: lvm: mention how saferemove setting is called in the UI
[pve-docs.git] / local-btrfs.adoc
index 20e992584b437578b10bfd55930d0ca8f2fc2cbe..b04d0a3cc55b17dad0a33cb6e61a656a2811c28f 100644 (file)
@@ -143,6 +143,16 @@ mount /my-storage
 ----
 After the next reboot this will be automatically done by the system at boot.
 
+Adding a BTRFS file system to {pve}
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+You can add an existing BTRFS file system to {pve} via the web interface, or
+using the CLI, for example:
+
+----
+pvesm add btrfs my-storage --path /my-storage
+----
+
 Creating a subvolume
 ^^^^^^^^^^^^^^^^^^^^
 
@@ -204,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
+----