kb:intranet:software:nfs:start
NFS
Changelog
- 2023-05-04: Init
Default NFS caching does not really do write buffering, and neither does enabling cachefilesd
...
- test_writebuffernfs.sh
#!/bin/sh date +%Y%m%d_%H%M%S.%N; echo ""; timeout 1 cat /dev/zero; echo ""; date +%Y%m%d_%H%M%S.%N;
> ./test_writebuffernfs.sh > ./file5 > ls -l file5 -rw-r--r-- 1 belgianwit users 390463542 May 4 03:21 file5 > head -n1 file5 && tail -n1 file5 20230504_032142.529695697 20230504_032144.473636267 > ./test_writebuffernfs.sh > /workspace/users/Justin/file5 > cd /workspace/users/Justin > ls -l file5 -rw-r--r-- 1 belgianwit users 488153115 May 4 02:25 /workspace/users/Justin/file5 > head -n1 file5 && tail -n1 file5 20230504_032214.655608732 20230504_032256.602963332
Bro... https://www.xmodulo.com/how-to-enable-local-file-caching-for-nfs-share-on-linux.html
sudo apt install cachefilesd sudo vim /etc/default/cachefilesd # uncomment RUN=YES sudo vim /etc/fstab # {{filesystem}} {{mount_point}} nfs user,rw,hard,intr,fsc 0 0 sudo mount -a sudo systemctl restart cachefilesd
kb/intranet/software/nfs/start.txt · Last modified: 6 days ago (17 August 2025) by Justin