Server Fault is a question and answer site for system and network administrators. 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 have a CIFS share mounted in the FSTAB on Ubuntu server, which connects to our NAS and works without issue. Last night we had an issue with the SAN for about 12 hours. We corrected the problem and the Windows boxes restored their mappings. The Ubuntu box did not, but we were able to restore with mount -a.

I saw options to specify retries in man for NFS but not CIFS. Any ideas on ensuring a reconnect if the NAS goes down again?

share|improve this question

The hard mount option is (similiar to NFS) avoiding to return errors to the clients when servers are unresponsive. (Default seems to be the soft option). Add this to your /etc/fstab and remount it (or reboot).

See the man page:

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.