Notes on set up nfs on ArchLinux

  |   Source

Key points


/srv/nfs4/z 192.168.0.0/16(ro,insecure,no_subtree_check)

# turn on the log

sudo rpcdebug -m nfsd -s proc

# turn off the log
  • then `sudo tail -f /var/log/messages.log`
  • Basically you need `sudo systemctl enable syslog-ng.service` to enable system log before you use rpcdebug

Summary

On server side:


sudo exportfs

# got output like:

# /srv/nfs4/z   192.168.0.0/16

Then on client side:


# 131072 is 128K

sudo mount 192.168.1.9:/srv/nfs4/z ~/z -o rsize=131072,wsize=131072,noatime,nodiratime,intr
Comments powered by Disqus