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

Stefan Hrdlicka s.hrdlicka at proxmox.com
Fri Jul 29 15:46:07 CEST 2022


Signed-off-by: Stefan Hrdlicka <s.hrdlicka at proxmox.com>
---
 pve-storage-cifs.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pve-storage-cifs.adoc b/pve-storage-cifs.adoc
index bb4b902..a8fc350 100644
--- a/pve-storage-cifs.adoc
+++ b/pve-storage-cifs.adoc
@@ -57,6 +57,13 @@ path::
 
 The local mount point. Optional, defaults to `/mnt/pve/<STORAGE_ID>/`.
 
+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
@@ -64,6 +71,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