mount fails with "mount.nfs: access denied by server while mounting nfs-server:/export/subdir"

Solution Unverified - Updated -

Issue

  • Mounting nfs volume fails with the following error message.
mount.nfs: access denied by server while mounting nfs-server:/export/subdir
  • The exported directory can be accessed all users.
# ls -ld /export/subdir/
drwxr-xr-x. 2 root root 4096 Apr  6 12:28 /export/subdir/

Environment

  • Red Hat Enterprise Linux 6
  • NFSv4
  • nfs-utils-1.2.3-15.el6_2.1 or older version.

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