Unable to mount a NFS share from Red Hat Enterprise Linux
Issue
- While mounting a NFS share from RHEL client getting below error:
# mount -v -t nfs servername:/<NFS_Share-name> /mountpoint
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while servername:/<NFS_Share-name>
- The
/etc/exportsentry looks like this:
/<NFS_Share-name> <NFS Server-IP>(rw,all_squash,link_relative)
Environment
- Red Hat Enterprise Linux
- nfs-utils
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
