[Samba] smbmount not exiting in script

David Morel david.morel at amakuru.net
Wed Nov 26 08:05:27 GMT 2003


Le mar 25/11/2003 à 18:44, Bert Buckley a écrit :
> I run a script to mount several file shares from machines running W98 
> and W2000 so that I can do incremental dumps every night of these file 
> shares.
> 
> smbmount almost always fails to exit.  This causes the script to stall
> and so the dumps are not done.  In the am, if I kill the smbmount 
> processes, the dumps complete successfully, since the mounts were in 
> fact correctly completed. (I know that smbmount leaves a child running 
> to monitor the mount, but neither the parent nor child smbmount exits.)
> 
> I am running RH 9, kernel 2.4.20-8, samba-2.2.7a-7.9.0.
> 
> Note that logwatch also reports the following every morning:
> 
>     WARNING:  Kernel Errors Present
>    smb_get_length: recv error = 5...:  32Time(s)
> 
> Related?

error 5 is IO-related. Could be anything, still:
- do you use 'find' on the mounted share by any chance ?
- is your kernel patched with smbfs LFS ?

-- 
***********************************************
david.morel at amakuru.net
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=
Url : http://lists.samba.org/archive/samba/attachments/20031126/4df94338/attachment.bin


More information about the samba mailing list