From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9])
	by lore.proxmox.com (Postfix) with ESMTPS id 5E3231FF168
	for <inbox@lore.proxmox.com>; Tue,  4 Mar 2025 11:09:56 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id BB5041A771;
	Tue,  4 Mar 2025 11:09:52 +0100 (CET)
From: Daniel Kral <d.kral@proxmox.com>
To: pve-devel@lists.proxmox.com
Date: Tue,  4 Mar 2025 11:09:15 +0100
Message-Id: <20250304100915.55114-3-d.kral@proxmox.com>
X-Mailer: git-send-email 2.39.5
In-Reply-To: <20250304100915.55114-1-d.kral@proxmox.com>
References: <20250304100915.55114-1-d.kral@proxmox.com>
MIME-Version: 1.0
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.391 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible
 spam tricks
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: [pve-devel] [PATCH docs 3/3] storage: add remaining pvesm scan
 command examples
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel