Mount.nfs:access denied by server while mounting <server ip>:<server path>

Source: Internet
Author: User
Tags nfsd hipchat

[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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.