cancel
Showing results for 
Search instead for 
Did you mean: 

NFS exports timeout value.

 
jerry1
Super Advisor

NFS exports timeout value.

I have a PC connecting NFS over WAN.
THe nfs mount directory has over 72,000
files and normally takes a long time to
even display on the LAN. Can I set a timeout
in /etc/exports for this dir that would
fix this nfs timeout with the PC?
What is the default value of the timeout
on an exported dir?
7 REPLIES 7
mobidyc
Trusted Contributor

Re: NFS exports timeout value.

Hello,

According to the manpage, you can add the following parameter to your mount command:
timeo=n
Set the NFS timeout to n tenths of a second. The default value is set by kernel.

On HP-UX you can add this parameter to the file:
/etc/rc.config.d/nfsconf.

Cheers,
Cedrick Gaillard
Best regards, Cedrick Gaillard
jerry1
Super Advisor

Re: NFS exports timeout value.

I cannot find any entry in man exports for
timeo.
mobidyc
Trusted Contributor

Re: NFS exports timeout value.

this argument is positioned on the client side, not from server.

Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
jerry1
Super Advisor

Re: NFS exports timeout value.

That's what I thought.
What man page are you referencing?
Michael Mike Reaser
Valued Contributor

Re: NFS exports timeout value.

mobidyc> According to the manpage, you can add the following parameter to your mount command

jerry1> What man page are you referencing?

I'm presuming it's "man mount", followed by "man mount_nfs".
There's no place like 127.0.0.1

HP-Server-Literate since 1979
mobidyc
Trusted Contributor

Re: NFS exports timeout value.

i've looked on the mount_nfs(1M) man page.

regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
Dave Olker
HPE Pro

Re: NFS exports timeout value.

There is no way to set a timeout value on the server side. The NFS client, which in this case is the PC, is the one that sets timeout values.

Since this PC is connecting via a WAN, I assume you're using TCP and not UDP. If not, you should be using TCP. This is usually a configurable option in the NFS client stack, as are timeout values.

What type of PC-NFS software are you running on the PC? Also, are you using NFS version 3?

Regards,

Dave