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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.