mount of nfs4 export fails shows "reason given by server: No such file or directory" error.

Solution Unverified - Updated -


  • NFSv4 share details are as follows:
[root@NFS_Server ~ ]# cat /etc/exports  
/exports        *(rw,fsid=0,no_root_squash,sync)
  • While trying to mount it on client system with "-t nfs4" getting following error:
[root@NFS_Client ~ ] # mount -v -t nfs4 <NFS_Server>:/exports /mnt  
mount: pinging: prog 100003 vers 4 prot tcp port 2049  
mount.nfs4: <NFS_Server>:/exports failed, reason given by server: No such file or directory
  • Mounting with "-t nfs" instead of "-t nfs4" just works fine, but as per business requirements needs to make sure that only port 2049/tcp get's used which is possible with NFSv4. Hence, trying to mount it with NFSv4.


  • Red Hat Enterprise Linux 5.7
  • NFSv4
  • 2049 access is allowed through iptables.

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