When nfs server is stopped how long does the client retry ?

Solution Verified - Updated -


  • Red Hat Enterprise Linux 6, 7, 8, 9


  • When NFS server is stopped, how long does will the client retry?


  • soft or hard mount options determines the recovery behavior of the NFS client after an NFS request times out.  If neither option is specified (or if the hard option is specified), NFS requests are retried indefinitely.If the soft option is specified,then the NFS  client fails an NFS request after retrans retransmissions have been sent, causing the NFS client to return an error to the calling application.

  • retrans=n is the number of times the NFS client retries a request before it attempts further recovery action. If the retrans option is not speci-fied, the NFS client tries each request three times. The NFS client generates a "server  not responding" message after retrans retries, then attempts further recovery (depending on  whether the hard mount option is in effect).

  • As mentioned above, the retry depends on the the soft/hard and the retrans parameter used to mount the share.Check #man nfs for more information on these parameters.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.