When NFS mounts, the solution for "Access denied by server while mounting" appears

Source: Internet
Author: User

MOUNT.NFS Failure resolution
Mount.nfs:access denied by server while mounting a workaround

1, permissions settings have a problem, in fact, the folder permissions are set to 777, the permissions are no problem, is the owner and the group, is correct.
[Email protected] ~]# ls-ld/data/
Drwxr-xr-x. 2 nfsnobody nfsnobody 4096 June 13:31/data/

2, Hosts.deny, and hosts.allow all leave the default settings.

3, the firewall is also closed, the settings are set, but still be rejected.

         [[email protected] ~]# getenforce

Disabled

[[email protected] ~]# grep "selinux="/etc/selinux/config

Selinux= can take one of these three values:

Selinux=disabled

[Email protected] ~]#/etc/init.d/iptables status
Iptables:firewall is not running.

4, Vim/etc/exports IP address range is not correct. 172.16.2.0/24 (Rw,sync)

When NFS mounts, the solution for "Access denied by server while mounting" appears

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.