There is a delay during boot when the rpc-statd.service is starting causing the first nfs mounts to take long time

Solution Verified - Updated -

Issue

  • Within /etc/fstab I have a NFS mount (/mnt). When I boot the server, the boot process hangs for a while (~45 seconds) at the mount for this NFS share with messages:
A start job is running for NFS status monitor for NFSv2/3 locking`
A start job is running for NFS /mnt
  • Boot with NFS mount point in /etc/fstab takes a long time when nfsvers=3 is set as mount option.
  • Mounting an NFS share following reboot takes exactly 1 minute to start:
# time mount -t nfs -o vers=3 example.com:/share /mnt/nfs

real        1m0.417s
user       0m0.023s
sys         0m0.031s

Environment

  • Red Hat Enterprise Linux 7.1
  • Red Hat Openstack Plattform 7
  • NFS

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