Re: disable autofs timeout

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



On May 11, 2010, at 10:35 AM, Brian Mathis wrote:

> On Tue, May 11, 2010 at 10:01 AM, Rudi Ahlers <rudiahlers@xxxxxxxxx>  
> wrote:
>> On Sat, May 8, 2010 at 5:12 PM, Brian Mathis  
>> <brian.mathis@xxxxxxxxx> wrote:
>>>
>>> A simple solution would be to setup a cron job that runs every 5
>>> minutes and does
>>>    ls /mount/point > /dev/null
>>
>> How would this fix the problem though? I'm asking cause I sit with  
>> the same
>> problem, and haven't figured out yet to tell a remote server what  
>> todo if
>> the NFS server is unavailable (be it network problems, maintenance,
>> incorrect password, etc)
>>
>> Rudi Ahlers
>
> It doesn't fix it -- it's an ugly workaround -- but it works to keep
> them mounted.  I don't know of an elegant solution if the NFS server
> goes away.  I've seen it hang the clients until they timeout.  Maybe
> an NFS expert on the list will be able to provide a better solution.

I did a cron on a client who is also an OSX 10.5 server and then  
killed the NFS server that it had automounted.

No hangs on the client but I haven't tested this on my Centos clients  
yet which is actually my main concern.

I was actually surprised that OSX behaved for once.

_______________________________________________
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