]> git.proxmox.com Git - pve-docs.git/commitdiff
fix #2920: add cifs options parameter
authorStefan Hrdlicka <s.hrdlicka@proxmox.com>
Wed, 1 Mar 2023 12:13:26 +0000 (13:13 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Sep 2023 14:36:50 +0000 (16:36 +0200)
Signed-off-by: Stefan Hrdlicka <s.hrdlicka@proxmox.com>
[FE: rebase + style fix]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
pve-storage-cifs.adoc

index df63b58d6eefc5c7e2ee302e4ac57fa52c8c372e..535aaafd992407e4fba9e68b5be91fe827798107 100644 (file)
@@ -61,9 +61,17 @@ 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`.
+
 subdir::
 
-The subdirectory of the share to mount. Optional, defaults to the root directory of the share.
+The subdirectory of the share to mount. Optional, defaults to the root directory
+of the share.
 
 .Configuration Example (`/etc/pve/storage.cfg`)
 ----
@@ -72,6 +80,7 @@ cifs: backup
        server 10.0.0.11
        share VMData
        content backup
+       options noserverino,echo_interval=30
        username anna
        smbversion 3
        subdir /data