On 10/20/2003 10:57 AM, I believe that Michael Hipp wrote:

I have a script file thus to automatically mount some smb shares:

#!/bin/bash
# Mount our Samba shares
smbmount //linux/public /mnt/public -o username="",password="",workgroup=workgroup,uid=michael,gid=michael
smbmount //linux/shared /mnt/shared -o username="",password="",workgroup=workgroup,uid=michael,gid=michael
smbmount //linux/backups /mnt/backups -o username="",password="",workgroup=workgroup,uid=michael,gid=michael


When I execute the above commands (as su) manually one at a time they work every time. When I run them from a script it will hang somewhere almost every time. When I execute them from /etc/rc.local my box won't finish booting and hangs. /var/log/messages shows nothing nor dmesg.

Sometimes the first one hangs, sometimes the second, sometimes the third. Wierd thing is, when one of the commands hang, the mount succeeds and is usable, but the command just never returns.

The server is a RH9 box and I've set all the shares wide open for now. I don't suspect the server because it works great from other Win boxes on the LAN. I've seen this symptom before tho from other RH9 clients on the LAN.



I've seen something similar to this on comp.protocols.smb, IIRC....
Yes, check out:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=9Xb4b.38159%24yg.16583965%40news4.srv.hcvlny.cv.net&rnum=2&prev=/groups%3Fq%3Dfstab%2Bgroup:comp.protocols.smb%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.protocols.smb%26selm%3D9Xb4b.38159%2524yg.16583965%2540news4.srv.hcvlny.cv.net%26rnum%3D2

Someone had a similar issue with smb mounts in the fstab file and someone else posted a suitable workaround. Looks like it may be a samba bug, though. You might wanna check their mailing list archives...

HT,
Tim


_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to