How to solve the problem of "accessdeniedbyserverwhilemounting" during NFS shared service mounting
Source: Internet
Author: User
When the NFS shared service is mounted, accessdeniedbyserverwhilemounting is used. the Linuxf release version is Centos6.4. the following methods are theoretically effective for Fedora and RedHat: After the NFS service is set up, if you use the following command for mounting :... the solution "access denied by server while mounting" appears during NFS shared service mounting. the Linuxf release version I used is Centos6.4. the following methods are theoretically effective for Fedora and Red Hat: after setting up the NFS service, run the following command to mount the nfs: # mount-t NFS 172.16.12.140:/home/liangwode/test/mnt: mount. nfs: access denied by server while mounting 172.16.12.140:/home/ Liangwode/test: modify the/etc/sysconfig/nfs file, set # Turn off v2 and v3 protocol support # RPCNFSDARGS = "-N 2-N 3" # Turn off v4 protocol support # RPCNFSDARGS = "-N 4"/* to set this sentence # Remove */NFS is divided into three versions, that is, the NFS-2 NFS-3 NFS-4, which closes these three NFS versions by default, we just need to open the NFS-4. Solve the problem !!!
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