[Email protected]:~# mount-t NFS 192.168.10.220:/hipchat/share/home/share/nfs
Mount.nfs:access denied by server while mounting 192.168.10.220:/hipchat/share
# Reason: Using NFSV4 in the server Oracle Linux 6.8 System, you can see the log Output at NFS startup in/var/log/messages:
Feb 11:23:07 localhost rpc.mountd[19234]: Version 1.2.3 Starting
Feb 11:23:07 localhost kernel: [34923.990353] Nfsd:using/var/lib/nfs/v4recovery as the NFSV4 State recovery Directory
Feb 11:23:07 localhost kernel: [34923.990369] nfsd:starting 90-second grace period (net ffffffff81b8b040)
# When using NFSV4, do the following on the NFS server:
[Email protected] ~]# Vim/etc/sysconfig/nfs
# Optional arguments passed to RPC.NFSD. See RPC.NFSD (8)
# Turn off V2 and V3 protocol support
Rpcnfsdargs= "-N 2-n 3"
# Turn off V4 protocol support
Rpcnfsdargs= "-N 4"
[[Email protected] ~]# Service NFS Restart
Mount.nfs:access denied by server while mounting <server ip>:<server path>