Why do I have to run mount command multiple times to mount the NFS share?

Solution Verified - Updated -

Issue

  • Unable to mount NFS share. The share gets mounted after several attempts.
[root@hostname ~]# mount nfsserver:/abc/xyz /mnt
mount.nfs: access denied by server while mounting nfsserver:/abc/xyz
[root@hostname ~]# mount nfsserver:/abc/xyz /mnt
mount.nfs: access denied by server while mounting nfsserver:/abc/xyz
[root@hostname ~]# mount nfsserver:/abc/xyz /mnt
mount.nfs: access denied by server while mounting nfsserver:/abc/xyz
[root@hostname ~]# mount nfsserver:/abc/xyz /mnt
[root@hostname ~]# df -h /mnt/testn
Filesystem          Size  Used  Avail  Use%  Mounted on
nfsserver:/abc/xyz  4.7T  2.4T  2.3T   51%   /mnt
  • Multiple mount attempts are required to mount the NFS share.
  • Mounting NFS share requires multiple attempts.

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7

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