NFS & Firewall ports
- Fixing Ports Used by NFSv3 Server
Uncomment or add these lines to /etc/sysconfig/nfs: RQUOTAD_PORT=875 LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 MOUNTD_PORT=892 STATD_PORT=662 After restarting nfs and rpcbind, check by: rpcinfo -p
- CentOS forum: Bug – Locking down nfs – port settings ignored?
- Bug 450208 – NFS doesn’t stop rpc.rquotad
All I had to do was uncomment the following line in /etc/sysconfig/nfs: RQUOTAD="/usr/sbin/rpc.rquotad" The problem stems from the fact that $RQUOTAD is initialized in the start portion of /etc/init.d/nfs but not the stop portion.
- 鳥哥的 Linux 私房菜 – 第十三章、檔案伺服器之一:NFS 伺服器