==> On Thu, 16 Nov 2006 08:02:48 -0800, Erich Weiler <[EMAIL PROTECTED]> said:

Erich> Hi All- I'm having this problem with autofs under CentOS 4.4
Erich> linux that I was hoping someone could shed some light on...

The version of autofs would be a bit more useful than the version of
CentOS you are using.

Erich> Basically I have a bunch of auto.* tables set up in /etc.  They
Erich> work fine.  What does not work fine is that when someone tries
Erich> to automount a directory that doesn't exist, the command hangs
Erich> forever, and has to be killed.  For instance:

Erich> % cd /projects/foo [hangs]

Erich> because /projects/foo is unavailable.  Now let me make it a bit
Erich> more complex: The machine I'm mounting on is on a private
Erich> network (10.x.x.x), the nfs server is on a public network.
Erich> There is no NAT routing to the public network.  I was assuming
Erich> that because the machine could not reach the NFS server it
Erich> would just fail or timeout, not hang the terminal...

Erich> I know this is an odd setup, but it is the way it is and I'm
Erich> trying to deal with it.  :) Am I out of luck?  Or can I tweak
Erich> something to make this just fail or timeout?  Any advice would
Erich> be greatly appreciated!!

Add the mount options "hard" and "intr" to your map.  Most likely that
will take care of the problem by allowing you to hit Ctrl-C.  If it
doesn't, then please consult http://people.redhat.com/jmoyer for a
list of things we need to diagnose problems.

Thanks,

Jeff

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to