Re: nfs timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Rita wrote:
> hi,
> 
> I use automounter to mount to many hosts
> 
> /net/<hostname>/dir
> 
> When the hostname is unavaliable it seems NFS gets stuck. I would like to
> set a NFS timeout (say 60 secs). If not available then error. I need to use
> hardmount but is there such a thing as NFS client timeout?

If the client has already mounted the server using the hard option - and 
then the server goes away, the client will hang on the mount point until 
the server reappears - there is no such thing as a 'timeout' with hard 
mounts ...

However, if you mean reducing the mount failure timeout when the client 
attempts to mount a server that is not available, then have a look at 
the NFS 'retry' option in the nfs man page

But if you are using /etc/auto.net to automount under /net, then this 
uses showmount to find exported mounts from a server, so will error 
fairly quickly anyway if the server is available

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux