[pbs-devel] [PATCH proxmox-backup v9 14/26] docs: add removable datastores section

Hannes Laimer h.laimer at proxmox.com
Tue Apr 23 10:29:48 CEST 2024


Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
 docs/storage.rst | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/docs/storage.rst b/docs/storage.rst
index 4444c423..7bfd016c 100644
--- a/docs/storage.rst
+++ b/docs/storage.rst
@@ -165,6 +165,35 @@ following command creates a new datastore called ``store1`` on
   # proxmox-backup-manager datastore create store1 /backup/disk1/store1
 
 
+Removable Datastores
+^^^^^^^^^^^^^^^^^^^^
+Removable datastores have a ``backing-device`` associadted with them, they can be
+mounted and unmounted. Other than that they behave the same way a normal Datastore
+would.
+
+They can be created on already correctly formatted partitions, as with normal Datastores
+the partitions should be either ``ext4`` or ``xfs``. It is also possible to
+create them on completely unused disks through "Administartion" > "Disks / Storage" > "Directory",
+using this methos the disk will be partitioned and formated actomatically for the datastore.
+
+They are mounted automatically when plugged in. It is possible to create a
+removable Datastore on one PBS and use it on mutiple, the device just has to be added
+on all as a removable Datastore. This can be done using the normal `Create Datastore`
+form, by checking **Removable datastore**, selecting the device and setting the correct path.
+If the devcice already contains a datastore at the speciefied path it'll just be added as
+a new Datastore to the PBS instance and will be mounted whenever plugged in. Unmounting has
+to be done through the UI by clicking "Unmount" on the summary page or using the CLI
+
+.. code-block:: console
+
+  # proxmox-backup-manager datastore unmount store1
+
+both will wait for any running tasks and unmount the device once the last finishes.
+
+All removable datastores will be mounted under ``/mnt/datastore/<name>`` and the
+specified path is the on-device path.
+
+
 Managing Datastores
 ^^^^^^^^^^^^^^^^^^^
 
-- 
2.39.2





More information about the pbs-devel mailing list