How to make the NFS mount disconnect by itself in seconds when the NFS server dies?

Solution Verified - Updated -

Issue

  • We manage linux account in RHEL IPA, and manage the accounts home directory centrally on a NFS server.
  • The user logon to a linux server, its home directory is mounted to the server through automount but when the NFS server dies, the currently active login session will hang there.
  • How to mount the dying mount disconnect by itself in a very short when it can't communicate with the NFS server?

Environment

  • RHEL 6
  • IPA Server
  • Keepalive server

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