What does Timeo mean during NFS mount in Linux?

Updated: Feb 12

Timeo is a timeout mount option in NFS mount. It is the timeout value that the NFS client uses to wait for a response before it retries an NFS request. Let's dive into the details about what this timeout value means between NFS over TCP and NFS over UDP.


Timeo is the timeout period that is specified by the mount parameter and is expressed in tenths of a second. For example, the default NFS timeout value is 600 in Redhat which means 60s.


Check Timeout For NFS over UDP

NFS over UDP, the client uses an adaptive algorithm to estimate an appropriate timeout value for READ / WRITE request, but uses the timeo setting for FSINFO request.


If the timeo option is not specified, FSINFO request types are retried after 1.1 seconds.

After each retransmission, the NFS client doubles the timeout for that request, up to a maximum timeout length of 60 seconds. The default retrans value for UDP is 3.



Check Timeout For NFS over TCP

For NFS over TCP the default timeo value is 600 (60 seconds) and retrans is 2.

The NFS client tries 2 times (as retrans = 2) after the timeo. The total time NFS

will wait for is 180 sec after a disconnect to start displaying 'nfs not responding' messages

The values for these options can be changed per the requirement.


On Redhat, for NFS over TCP, the default timeo=600, retrans=2, so the major timeout value = timeo + timeo * retrans=600+600*2=1800=180s.


What happens next after NFS Timeout?

After a major timeout, the message:

NFS server host not responding still trying 

is printed on the client's console. If a reply is eventually received, the "not responding" message is followed with the message:

NFS server host ok 

Related Post:

What does actimeo mean during NFS mount in Linux?

102 views

Join our mail group. Get a free Linux account on Cloud.

Never miss a post!

Want a free Linux account?  This account can be used to login to our cloud server and practice Linux commands.

 
kamateravps.gif
topbackgroud.png

✔ Linux Commands   ✔ Linux Skills    ✔ LinuxPerformance   ✔ Linux Interview

Some articles are from the public internet. If you find your article misused or undesired here and you don't want us to display it, please let us know and we'll remove it immediately.