storage: add remaining pvesm scan command examples

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@proxmox.com>
Link: https://lore.proxmox.com/20250304100915.55114-3-d.kral@proxmox.com
This commit is contained in:
Daniel Kral 2025-03-04 11:09:15 +01:00 committed by Thomas Lamprecht
parent 28eb02fb33
commit 528fe5d7f3
2 changed files with 12 additions and 6 deletions

View File

@ -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

View File

@ -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: