Re: if no NFS server clients are waiting..

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



Johan Swensson wrote:
> Try with the soft option.
> 
> ----- Original Message -----
> From: "Michael Casey" <michaelcasey73@xxxxxxxxx>
> To: centos@xxxxxxxxxx
> Sent: Thursday, May 14, 2009 2:06:31 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject:  if no NFS server clients are waiting..
> 
> 
> What can I do, If the NFS server is rebooting/offline? 
> I mean the clients just wait and wait and wait... 
> 
> I tried to set 
> 
> timeo=5,retrans=2 
> 
> mount options when mounting nfs in fstab on client side = 
> still no luck, clients are just waiting... 
> Can I set a timeout somewhere? :D 

If the server is just rebooting, then don't use the "soft" option. In 
fact, I would never use the soft option - see: 
<http://nfs.sourceforge.net/nfs-howto/ar01s04.html#mount_options>

You probably want to use "hard,intr"

If the server is really offline for a period, then you can clear the 
mount entry by using 'umount -l /mount/point' - see umount(1)

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