Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.