LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   samba share timeout and autofs (http://www.linuxquestions.org/questions/linux-software-2/samba-share-timeout-and-autofs-458485/)

phyrko 06-26-2006 12:55 PM

FC4 automount not unmounting
 
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?

phyrko 06-27-2006 03:53 AM

Anyone?
 
I know it looks like a well-worn topic but I can't find a solution to this particluar issue in this forums.

phyrko 07-06-2006 11:31 AM

Not sure what the problem was but I have fixed it by stopping the smbd (and nmbd) services and just leaving autofs running.


All times are GMT -5. The time now is 08:29 PM.