Hi .. I'm running autofs 3.1.3 on kernel 2.0.36 and I have a problem
when _one_ of the potential mount hosts is down. Then any attempt to
access other hosts that are not yet mounted hangs while mount does
its thing.
I access /usr/arpa. I have links
/usr/arpa -> /-/arpa
/usr/zambomba -> /-/zambomba
...
and the automount is running with parameters
/usr/sbin/automount /- file /etc/auto.mnt
while the mount options on all automounts are (from auto.mnt)
* -rw,soft,bg,intr &:/usr/&
Is the "bg" doing the harm? I would think so. (I'll try getting rid of
it now ... uh, no, no dice).
Concretely, a "ls /usr/arpa" hangs while I see that automount is
running a mount against the dead host:
/bin/mount -t nfs -o rw,soft,intr zambomba:/usr/zambomba /-/zambomba
This will time out? I help it out with a kill. And hey presto, the ls
output appears.
I believe there is a timeout option in mount. I'll try that. But WHY
is automount mounting something that is not the target of the ls?
Peter