smbmount intermittent problems

Urban Widmark urban at
Fri Jul 14 13:48:23 GMT 2000

On Fri, 14 Jul 2000, Hieb, Michael wrote:

> Frequently it works well, but from time to time the mounted NT share, for
> lack of a better word gets corrupted. Here are the symptons
> 1.	trying to access the directory gives the following error.
> 		uklnxsrv$ ls -la /tmp/temporary_mount
> 		ls: /tmp/temporary_mount: lstat failed: Input/output error
> 3.	The smbmount cannot be removed by smbumount, if you try smbumount
> will return without an error, but the corrupted mount will still be there.
> Only rebooting the linux machines (shudder...) seems to remove the mount..

Does it unmount with umount? smbfs tries to talk to the server when it is
unmounted but if it can't you will get errors or a umount process that
appears to have hung (on network failures, it's waiting for a response
from the server and the receive doesn't have a timeout).

> 4.	Syslog reports the following errors
> 	Jul 14 05:23:51 uklnxsrv kernel: smb_retry: signal failed, error=-3 
> 	Jul 14 05:23:51 uklnxsrv kernel: smb_lookup: find //Risk failed,
> error=-5 

The connection was terminated (that happens sometimes, it's not a problem)
but smbmount didn't succeed in connecting again.

When you mount the first time you get a smbmount daemon process, when you
get this error it is most likely gone.

> I am using RH6.0 and Samba 2.0.3-8.

Try upgrading your smbmount, the latest version is in the samba 2.0.7
release. (But watch out for the smbmount syntax change ...)


More information about the samba mailing list