[pve-devel] [PATCH v3 docs 1/1] fix #2920: add cifs options parameter

Fiona Ebner f.ebner at proxmox.com
Wed Mar 1 13:13:26 CET 2023


From: Stefan Hrdlicka <s.hrdlicka at proxmox.com>

Signed-off-by: Stefan Hrdlicka <s.hrdlicka at proxmox.com>
[FE: rebase + style fix]
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

Changes from v2:
    * use {pve} instead of PVE

 pve-storage-cifs.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pve-storage-cifs.adoc b/pve-storage-cifs.adoc
index e0d4106..6008730 100644
--- a/pve-storage-cifs.adoc
+++ b/pve-storage-cifs.adoc
@@ -61,6 +61,13 @@ content-dirs::
 
 Overrides for the default directory layout. Optional.
 
+options::
+
+Additional CIFS mount options (see `man mount.cifs`). Some options are set
+automatically and shouldn't be set here. {pve} will always set the option
+`soft`. Depending on the configuration, these options are set automatically:
+`username`, `credentials`, `guest`, `domain`, `vers`.
+
 .Configuration Example (`/etc/pve/storage.cfg`)
 ----
 cifs: backup
@@ -68,6 +75,7 @@ cifs: backup
 	server 10.0.0.11
 	share VMData
 	content backup
+	options noserverino,echo_interval=30
 	username anna
 	smbversion 3
 
-- 
2.30.2






More information about the pve-devel mailing list