You are not logged in.
I have several nfs4 servers on my local network which I access using autofs. If I inadvertently type the name of a nfs4 server that is shut down into a terminal automount hangs and refuses to mount anything else until it it restarted. If I run "automount -f -v" to diagnose the problem the last line it prints out before hanging is something like:
attempting to mount entry /net/server.that.is.off
After that, automount will do nothing unless killed and restarted, then is works fine until I accidentally type the name of a nfs4 server that is off again (this is easy to do with autocomplete turned on in zsh)
Offline
I'm not familiar with autofs - do you have the option to set a timeout anywhere?
As an alternative, you could look at systemd's automount feature - see systemd.mount(5) and systemd.automount(5) for more details.
Offline
do you have the option to set a timeout anywhere?
There is a timeout you can specify in the /etc/auto.master file, but that seems to be for unmouting after a period on inactivity. In my case I never get that far since automount will not create any new mounts once it hangs.
Offline