Unable to mount a NFS share from Red Hat Enterprise Linux

Solution Verified - Updated -

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/exports entry 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content