diff --git a/admin-guide/configuration/mount.md b/admin-guide/configuration/mount.md index 2a20ae3d..436b039a 100644 --- a/admin-guide/configuration/mount.md +++ b/admin-guide/configuration/mount.md @@ -75,7 +75,7 @@ Mounting a CIFS share with the `multiuser` option and Kerberos has the advantage ``` mounter::def::scratch: ensure: 'mounted' - device: '//scratch01/scratch' + device: '//scratch01.psi.ch/scratch' mountpoint: '/media/scratch' type: 'cifs' options: 'multiuser,sec=krb5,cifsacl' @@ -84,6 +84,23 @@ mounter::mounts: - 'scratch' ``` +For shares on NetApp (`fs00.psi.ch` until `fs03.psi.ch`) you can mount the `data` folder which contains all shares on this server: + +``` +mounter::def::fs00: + ensure: 'mounted' + device: '//fs00.psi.ch/data' + mountpoint: '/cifs/fs00' + type: 'cifs' + options: 'multiuser,sec=krb5,cifsacl' + +mounter::mounts: + - 'fs00' +``` + +This only works if `everybody` has read access to the share itself, but that is not needed for subfolders. +Else you need a password as below or a keytab (here feel free to ask the Linux Group for support). + ### CIFS with User and Password Remote CIFS mountpoints can be defined as follows: