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!