From a33a268896e750039ccaf7e1ae7b0920c56bcd2c Mon Sep 17 00:00:00 2001 From: Kotove Date: Thu, 5 Nov 2020 18:19:38 -0500 Subject: [PATCH] Update config.inc.TEMPLATE since the profile of nfs usage is mostly a 'write', adding more tuning: 'If write dominates, make sure the clients are using noatime,nodiratime to avoid updating access times. Make sure your server's local file system access has been optimized.' credits: https://cromwell-intl.com/open-source/performance-tuning/nfs.html --- installer/config.inc.TEMPLATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/config.inc.TEMPLATE b/installer/config.inc.TEMPLATE index ce6f772..e5c0d17 100755 --- a/installer/config.inc.TEMPLATE +++ b/installer/config.inc.TEMPLATE @@ -9,7 +9,7 @@ export NFS_ROOT='192.168.1.10:/volume1/' # Some NFS configurations may need special mount options. You can specify # them here. The default value is verified on my camera with a NFS v3 share # on my home server. -export NFS_OPTIONS='-o nolock,rw' +export NFS_OPTIONS='-o nolock,rw,noatime,nodiratime' # Uncomment and modify the AUTO_REBOOT variable to automatically reboot # the camera at a specific minute. Time is specified in "HH:MM" format