Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

"yum install nfs*"

"yum install portmap"

In /etc/exports folder placed below setting in the file

/example (NAS drive) *(rw,sync,no_root_squash,no_all_squash,fsid=0)

Restarted all NFS,nfslock,netfs and portmap services and tried to mount the drive from Ububtu client by using mount nfs /IPADDRESS/Sharename /localpath

share|improve this question

It's hard to say what is your problem. Perhaps it's from SElinux, firewall, rpcbind or permissions. You should read careful on Security-Enhanced Linux and Managing Confined Services. Your link's here.

share|improve this answer

Doublecheck nfs server itself has access rights to shared directory

You can inspect directory rights with "ls -la" command:

Example where nfs server does not have access right:

cd /your/dir
ls -la
drwxr-x---+  3 user  user  4096 Mar 12 23:17 dir

Grant access to user, group and other services:

chmod 755 dir
ls -la
drwxr-xr-x+  3 user  user  4096 Mar 12 23:34 dir

Restart nfs server and try to mount again.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.