Quote:
Originally Posted by tstein
I have a debian server which on bootup mounts cifs shares from another server in my network. From time to time, the server2 might reboot or for one reason or another the debian server boots up before server2.
Would there be any harm in running "mount -a" on a pretty frequent basis (say ever 30 seconds)? Or is there a better way to solve this?
|
Don't know, but I can't see how that would be a GOOD thing to do. Why don't you put a file out on the network share, then write a script to open/check for that file? If it's not found/inaccessible, THEN perform a force-dismount then remount.