[CentOS] NFS options in fstab
Daniel Bird
dbird at sgul.ac.uk
Thu Dec 29 17:15:10 UTC 2011
On 29/12/2011 15:23, Marc Deop wrote:
> On Thursday 29 December 2011 14:35:34 Daniel Bird wrote:
>> retry=n The number of minutes to retry an NFS mount operation in the
>> foreground or background before giving up. The default
>> value for forground mounts is 2 minutes. The default
>> value for background mounts is 10000 minutes, which is roughly
>> one week.
>>
>> So retry=2 would give the same behavior on background mounts as
>> foreground mounts I reckon.
> Have you tried this? I'd love to know if it really works.
I've got it down to a reasonable timeout (1m 30 sec) now with these options
proto=udp,timeo=1,retrans=0,retry=1,intr,soft,bg
with proto=tcp it's about 4mins....
>
> You could as well try automount with your nfs shares...
Yes, that is an option. We use it for some services.
Cheers
D
More information about the CentOS
mailing list