Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using autofs to mount an NFS remote share at boot so it's mounted when I'm logged in. If the remote share is down, I can't login to Ubuntu, it hangs after entering my password.

Any way to set a timeout on the remote share so it forgets about mounting an unavailable share after N seconds and lets me login?

If not with NFS, then with SSHFS?

share|improve this question

After some searching, I found your answer in the Centos documentation.

In autofs, when you define your mount, you can set options in auto.master, including a time out, in the third field as an options


/misc   /etc/auto.misc --timeout 60


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.