[pve-devel] [PATCH docs 3/3] storage: add remaining pvesm scan command examples

Daniel Kral d.kral at proxmox.com
Tue Mar 4 11:09:15 CET 2025


Add an example for the `pvesm scan` command to storage plugins, i.e.
GlusterFS and PBS, where it exists in the CLI but is not mentioned yet
in the documentation.

Signed-off-by: Daniel Kral <d.kral at proxmox.com>
---
 pve-storage-glusterfs.adoc |  7 +++++++
 pve-storage-pbs.adoc       | 11 +++++------
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/pve-storage-glusterfs.adoc b/pve-storage-glusterfs.adoc
index c3c1b38..052d4e0 100644
--- a/pve-storage-glusterfs.adoc
+++ b/pve-storage-glusterfs.adoc
@@ -70,6 +70,13 @@ snapshot/clone implementation.
 |images vztmpl iso backup snippets  |raw qcow2 vmdk  |yes    |qcow2     |qcow2
 |==============================================================================
 
+Examples
+~~~~~~~~
+
+You can get a list of available GlusterFS volumes with:
+
+ # pvesm scan glusterfs <server>
+
 ifdef::wiki[]
 
 See Also
diff --git a/pve-storage-pbs.adoc b/pve-storage-pbs.adoc
index fafc9c3..0e13069 100644
--- a/pve-storage-pbs.adoc
+++ b/pve-storage-pbs.adoc
@@ -157,12 +157,11 @@ recover from unencrypted backups.
 Example: Add Storage over CLI
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-// TODO: FIXME: add once available
-//You can get a list of exported CIFS shares with:
-//
-//----
-//# pvesm scan pbs <server> [--username <username>] [--password]
-//----
+You can get a list of available Proxmox Backup Server datastores with:
+
+----
+# pvesm scan pbs <server> <username> [--password <string>] [--fingerprint <string>]
+----
 
 Then you can add one of these datastores as a storage to the whole {pve}
 cluster with:
-- 
2.39.5





More information about the pve-devel mailing list