[fenlason@redhat.com: Re: [Samba] mount dies misteriously]

Jay Fenlason fenlason at redhat.com
Wed May 14 20:05:09 GMT 2003


I meant to send this to the list as well.

----- Forwarded message from Jay Fenlason <fenlason at redhat.com> -----

From: Jay Fenlason <fenlason at redhat.com>
To: Balla Zsolt <zsolt.balla at plazakommunikacio.hu>
Date: Wed, 14 May 2003 16:01:25 -0400
Subject: Re: [Samba] mount dies misteriously

On Wed, May 14, 2003 at 03:03:02PM +0200, Balla Zsolt wrote:
> Hi samba gurus,
> 
> A samba connection between a RedHat 9 and a win2000 is given, where
> mount -a sometimes (sometimes - i couldn't notice any order in that)
> dies completely.
> If it is during the boot process, the whole boot process stops without
> any further error message or anything. (you have to enter the
> interactive startup, say no to the smbmount and say mount -a as root
> from a console)
> 
> the specific line in /etc/fstab is:
> 
> //andrea/plazazaza	/plazazaza		smbfs	user,uid=500,username=samba,password=samba	0	0
> 
> share and directory names and chmod are correct, as it - suprisingly -
> mounts the directory, the problem is that it doesn't give back the
> command line (the suprising and misterious thing is that it sometimes
> does), so i have to kill the smbmount process or close the console.
> 
> if it seems to work properly (it mounts the directory and gives the
> command prompt back) and you say umount -a and mount -a again, it may
> stop without any further reason (and any error message).
> 
> it is annoying and embarrassing at the same time. Where shall i look for
> the solution?
> 
> it is a samba-2.2.7a-8.9.0 if it does matter at all

You're using smbfs, which is only vaguly related to samba (smbfs is
part of the Linux kernel).  What you're encountering is a bug in glibc
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90036
which causes the smbmount process to hang.  As you can see by the size
of the cc: list on the bug, you're not alone.  Add yourself to the cc:
list so you'll get notified when a resolution is avaliable.

In the mean time, I'd suggest adding noauto to the mount options for
this filesystem, and mount it by hand after the system has booted.
("mount -a -t smbfs" is what I use.)

			-- JF

----- End forwarded message -----



More information about the samba mailing list