From 04f09da3c608c15539dfd1fd7e67883f5ffad403 Mon Sep 17 00:00:00 2001 From: ebner Date: Mon, 28 Sep 2026 10:34:01 +0200 Subject: [PATCH] add info regarding fscache --- docs/admin-guide/configuration/files/mount.md | 8 ++++++-- docs/admin-guide/configuration/software/pmodules.md | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/admin-guide/configuration/files/mount.md b/docs/admin-guide/configuration/files/mount.md index 66e1395e..ae89025e 100644 --- a/docs/admin-guide/configuration/files/mount.md +++ b/docs/admin-guide/configuration/files/mount.md @@ -75,7 +75,11 @@ nfs_idmap::domain: 'ethz.ch' Checkout [Permanent Kerberos with gssproxy and Password Keytab](../basic/gssproxy_with_keytab) if you want to access a Kerberos protected share, e.g. with background processes without having to type passwords (`kinit`) regularly. ### Caching -NFS filesystem access can be speed up via local caching. This can easily done by specifying the mount option __fsc__. +NFS filesystem access can be speed up via local caching. This can easily done by specifying the mount option __fsc__. + +!!! warning + Due to a bug in the NFS client the `fsc` option need to be amended with the `nosharecache` option as well. + If this option is specified Puppet will take care of the installation of the needed cachefilesd daemon and its configuration before doing the mount. Example: @@ -84,7 +88,7 @@ mounter::def::modules: ensure: 'mounted' mountpoint: '/modules' device: 'lx-fs.psi.ch:/modules' - options: 'fsc,sec=krb5' + options: 'fsc,nosharecache,sec=krb5' type: 'nfs4' mounter::mounts: diff --git a/docs/admin-guide/configuration/software/pmodules.md b/docs/admin-guide/configuration/software/pmodules.md index 51b19bd4..3be168b1 100644 --- a/docs/admin-guide/configuration/software/pmodules.md +++ b/docs/admin-guide/configuration/software/pmodules.md @@ -52,7 +52,7 @@ mounter::def::pmodules: ensure: 'mounted' mountpoint: '/opt/psi' device: 'whatever-server.psi.ch:/pmodules' - options: 'fsc,sec=krb5' + options: 'fsc,nosharecache,sec=krb5' type: 'nfs4' mounter::mounts: