I am having problems with automounting samba shares on an FC4 box. The problem is as follows:
Automounting works fine immediately after reboot, here is the relevant line from the /etc/auto.master
Code:
/smb /etc/auto.smb --timeout=60 --ghost
and from /etc/auto.smb
Code:
video -fstype=smbfs,uid=500,umask=0000,fmask=777,dmask=000,username=xxxx,password=xxxx ://192.168.0.3/video
If the windows machine is switched off the shares are not unmounted and once it is restarted the shares are no longer available.
There are many smb_add_request timeouts in the dmesg output.
Rebooting the linux box will fix the problem until the windows box is switched off again.
In rebooting FC4 there is a [FAILED] message for NFS lock daemon.
Attempting to use /sbin/service autofs stop gives the error
Code:
Stopping automount:umount2: Device or resource busy
umount: /smb: device is busy
Can anyone help?