[CentOS] disable autofs timeout
aurfalien at gmail.com
aurfalien at gmail.com
Tue May 11 14:57:22 UTC 2010
On May 11, 2010, at 10:35 AM, Brian Mathis wrote:
> On Tue, May 11, 2010 at 10:01 AM, Rudi Ahlers <rudiahlers at gmail.com>
> wrote:
>> On Sat, May 8, 2010 at 5:12 PM, Brian Mathis
>> <brian.mathis at gmail.com> 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.
More information about the CentOS
mailing list