My Linux-box totally messed up

Urban Widmark urban at teststation.com
Sat Jan 19 16:38:28 GMT 2002


On Sat, 19 Jan 2002, Lasse Kärkkäinen wrote:

> Lasse Kärkkäinen wrote:
> 
> > Hi!
> >
> > I rebooted my W98-box (it's known as "Delenn") today, with Linux-box 
> > ("Hedronn") playing music from Delenn, via smbfs. I don't know if that 
> > instantly caused trouble or not, but an hour ago I noticed that df 
> > (disk free) hung when trying to get information of /mnt/delenn2 ..
[snip]
> 22961 ?        00:00:00 mount.smbfs
> 
> Is this normal? There were two mount.smbfs's, but I managed to kill one 
> of those.

You probably shouldn't kill mount.smbfs, that is not where things have
locked up.

smbd and other parts of samba are not involved. The problem is in the
kernel smbfs filesystem. Someone is holding a lock inside smbfs, and that
lock prevents anyone else from accessing the same smbfs mount (this is
why everyone hangs when looking at the mount).

After you shut the server down, smbfs attempted to send a command to the
server. It may have managed to send some data but gets no reply.
The tcp requests should timeout eventually, but that may take some time.

The problem is how smbfs sends requests. Recent 2.4 kernels should be
better at umounting unreachable servers, although not foolproof. A proper
solution is being worked on for 2.5/2.6 and patches will be available for
2.4.

Which version are you running?

And yes, this is a bug.

/Urban





More information about the samba mailing list