* [pve-devel] [PATCH docs 1/3] storage: make description of storage CLI examples more consistent
@ 2025-03-04 10:09 Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 2/3] storage: change to newer pvesm scan subcommands in examples Daniel Kral
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Daniel Kral @ 2025-03-04 10:09 UTC (permalink / raw)
To: pve-devel
Make the text for `pvesm scan` and `pvesm add` command examples more
consistent by introducing `pvesm scan` with "You can get ... with", as
it is already done for other storage plugins, and changing from past
tense to present tense in existing descriptions for the `pvesm add` as
recommended in the Technical Writing Style Guide for instructions [0].
While at it, replace the term "share" with the more appropriate
"datastore" for the example in the PBS section.
[0] https://pve.proxmox.com/wiki/Technical_Writing_Style_Guide#Second_person_imperative_mood
Signed-off-by: Daniel Kral <d.kral@proxmox.com>
---
pve-storage-cifs.adoc | 2 +-
pve-storage-iscsi.adoc | 2 +-
pve-storage-lvm.adoc | 2 +-
pve-storage-lvmthin.adoc | 2 +-
pve-storage-pbs.adoc | 4 ++--
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pve-storage-cifs.adoc b/pve-storage-cifs.adoc
index d5d54e7..6b8f35d 100644
--- a/pve-storage-cifs.adoc
+++ b/pve-storage-cifs.adoc
@@ -110,7 +110,7 @@ You can get a list of exported CIFS shares with:
# pvesm scan cifs <server> [--username <username>] [--password]
----
-Then you could add this share as a storage to the whole {pve} cluster
+Then you can add one of these shares as a storage to the whole {pve} cluster
with:
----
diff --git a/pve-storage-iscsi.adoc b/pve-storage-iscsi.adoc
index 55e5b21..aea26d2 100644
--- a/pve-storage-iscsi.adoc
+++ b/pve-storage-iscsi.adoc
@@ -81,7 +81,7 @@ storage on that iSCSI LUN.
Examples
~~~~~~~~
-Scan a remote iSCSI portal, and returns a list of possible targets:
+You can scan a remote iSCSI portal and get a list of possible targets with:
pvesm scan iscsi <HOST[:PORT]>
diff --git a/pve-storage-lvm.adoc b/pve-storage-lvm.adoc
index 487aac6..c100d56 100644
--- a/pve-storage-lvm.adoc
+++ b/pve-storage-lvm.adoc
@@ -88,7 +88,7 @@ not support shared storage.
Examples
~~~~~~~~
-List available volume groups:
+You can get a list of available LVM volume groups with:
# pvesm lvmscan
diff --git a/pve-storage-lvmthin.adoc b/pve-storage-lvmthin.adoc
index f18af63..28ff55f 100644
--- a/pve-storage-lvmthin.adoc
+++ b/pve-storage-lvmthin.adoc
@@ -76,7 +76,7 @@ multiple nodes, so you can only use them as local storage.
Examples
~~~~~~~~
-List available LVM thin pools on volume group `pve`:
+You can get a list of available LVM thin pools on the volume group `pve` with:
# pvesm lvmthinscan pve
diff --git a/pve-storage-pbs.adoc b/pve-storage-pbs.adoc
index d65448d..fafc9c3 100644
--- a/pve-storage-pbs.adoc
+++ b/pve-storage-pbs.adoc
@@ -164,8 +164,8 @@ Example: Add Storage over CLI
//# pvesm scan pbs <server> [--username <username>] [--password]
//----
-Then you could add this share as a storage to the whole {pve} cluster
-with:
+Then you can add one of these datastores as a storage to the whole {pve}
+cluster with:
----
# pvesm add pbs <id> --server <server> --datastore <datastore> --username <username> --fingerprint 00:B4:... --password
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] [PATCH docs 2/3] storage: change to newer pvesm scan subcommands in examples
2025-03-04 10:09 [pve-devel] [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Daniel Kral
@ 2025-03-04 10:09 ` Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 3/3] storage: add remaining pvesm scan command examples Daniel Kral
2025-04-07 13:22 ` [pve-devel] applied: [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Thomas Lamprecht
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Kral @ 2025-03-04 10:09 UTC (permalink / raw)
To: pve-devel
Update the examples to use the newer `pvesm scan` subcommands instead of
their backwards compatibility aliases to encourage new users to use the
new subcommand.
Signed-off-by: Daniel Kral <d.kral@proxmox.com>
---
pve-storage-lvm.adoc | 2 +-
pve-storage-lvmthin.adoc | 2 +-
pve-storage-nfs.adoc | 2 +-
pve-storage-zfspool.adoc | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pve-storage-lvm.adoc b/pve-storage-lvm.adoc
index c100d56..7157ef8 100644
--- a/pve-storage-lvm.adoc
+++ b/pve-storage-lvm.adoc
@@ -90,7 +90,7 @@ Examples
You can get a list of available LVM volume groups with:
- # pvesm lvmscan
+ # pvesm scan lvm
ifdef::wiki[]
diff --git a/pve-storage-lvmthin.adoc b/pve-storage-lvmthin.adoc
index 28ff55f..83f65a3 100644
--- a/pve-storage-lvmthin.adoc
+++ b/pve-storage-lvmthin.adoc
@@ -78,7 +78,7 @@ Examples
You can get a list of available LVM thin pools on the volume group `pve` with:
- # pvesm lvmthinscan pve
+ # pvesm scan lvmthin pve
ifdef::wiki[]
diff --git a/pve-storage-nfs.adoc b/pve-storage-nfs.adoc
index ce62aa0..ea5bbdc 100644
--- a/pve-storage-nfs.adoc
+++ b/pve-storage-nfs.adoc
@@ -82,7 +82,7 @@ Examples
You can get a list of exported NFS shares with:
- # pvesm nfsscan <server>
+ # pvesm scan nfs <server>
ifdef::wiki[]
diff --git a/pve-storage-zfspool.adoc b/pve-storage-zfspool.adoc
index 366a1f3..1db283d 100644
--- a/pve-storage-zfspool.adoc
+++ b/pve-storage-zfspool.adoc
@@ -97,7 +97,7 @@ To enable compression on that newly allocated file system:
You can get a list of available ZFS filesystems with:
- # pvesm zfsscan
+ # pvesm scan zfs
ifdef::wiki[]
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] [PATCH docs 3/3] storage: add remaining pvesm scan command examples
2025-03-04 10:09 [pve-devel] [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 2/3] storage: change to newer pvesm scan subcommands in examples Daniel Kral
@ 2025-03-04 10:09 ` Daniel Kral
2025-04-07 13:22 ` [pve-devel] applied: [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Thomas Lamprecht
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Kral @ 2025-03-04 10:09 UTC (permalink / raw)
To: pve-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] applied: [PATCH docs 1/3] storage: make description of storage CLI examples more consistent
2025-03-04 10:09 [pve-devel] [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 2/3] storage: change to newer pvesm scan subcommands in examples Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 3/3] storage: add remaining pvesm scan command examples Daniel Kral
@ 2025-04-07 13:22 ` Thomas Lamprecht
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2025-04-07 13:22 UTC (permalink / raw)
To: pve-devel, Daniel Kral
On Tue, 04 Mar 2025 11:09:13 +0100, Daniel Kral wrote:
> Make the text for `pvesm scan` and `pvesm add` command examples more
> consistent by introducing `pvesm scan` with "You can get ... with", as
> it is already done for other storage plugins, and changing from past
> tense to present tense in existing descriptions for the `pvesm add` as
> recommended in the Technical Writing Style Guide for instructions [0].
>
> While at it, replace the term "share" with the more appropriate
> "datastore" for the example in the PBS section.
>
> [...]
Applied, thanks!
[1/3] storage: make description of storage CLI examples more consistent
commit: 500faf074374a962e26581b8e232caef02c600cf
[2/3] storage: change to newer pvesm scan subcommands in examples
commit: 28eb02fb33cfaaae47689f0515f13c91568b1740
[3/3] storage: add remaining pvesm scan command examples
commit: 528fe5d7f39ccae0d3ce636beb82ca4167fadc2b
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-07 13:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-04 10:09 [pve-devel] [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 2/3] storage: change to newer pvesm scan subcommands in examples Daniel Kral
2025-03-04 10:09 ` [pve-devel] [PATCH docs 3/3] storage: add remaining pvesm scan command examples Daniel Kral
2025-04-07 13:22 ` [pve-devel] applied: [PATCH docs 1/3] storage: make description of storage CLI examples more consistent Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal