1

My question is more about ensuring rather than an exact problem.

I have a samba server (4.1) and I have a Linux client, which connects using this mount command:

mount.cifs $SHARE $DIR -o username=$USERNAME,password=$PASSWORD,domain=$DOMAIN

If I restart the samba service with

$ /etc/init.d/samba restart

The mounted filesystem is still usable.

Does mount.cifs reconnect if the mounted filesystem if the connection is lost? Is it okay, if I leave it without a monitoring system to remount the share?

Thank You!

1 Answer 1

1

As I am also using some cifs mounts on our systems and we recently got some networking issues in our company, I can say that it does reconnect. Otherwise all my shares and systems wouldn't work anymore.

Maybe others experienced other behaviour, but my shares always reconnected.

1
  • Confirm - reconnect feature works fine. Jul 24, 2015 at 23:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .