The nfstimeout option specifies the number of seconds the client waits for a status system call on an NFS file system before it times out.
You can use this option to mitigate the default behavior of status calls on file systems. For example, if an NFS file system is stale, a status system call is timed out by NFS (soft mounted) or hang the process (hard mounted).
When the value of this option is changed to a value other than zero, a new thread is created by a caller thread to issue the status system call. The new thread is timed out by the caller thread and the operation can continue.
mount -o soft,timeo=5,retry=5 machine:/filesystem /mountpoint
The
parameters are defined as follows: This option is for all UNIX and Linux clients. The server can also define this option.
Place this option in the dsm.sys file within a server stanza or the client options file (dsm.opt).
This option is valid only on the initial command line. It is not valid in interactive mode.