[KLUG Members] Issue with unmounting an smbmount.

Dirk H Bartley members@kalamazoolinux.org
Mon, 30 Sep 2002 15:18:52 -0400


adam@morrison-ind.com wrote:
> 
> >I'm have a major issue.  I believe I have traced down what is happening to
> >an issue with an smb mount process.
> >df hangs when it gets to the smb mounted partition
> >[root@srvbai1 /root]# ps -aux | grep smb
> >root     14764  0.0  0.2  3452 1168 ?        D    09:20   0:00
> >/sbin/mount.smbfs
> >root     16774  0.0  0.2  3452 1168 ?        D    09:39   0:00
> >/sbin/mount.smbfs
> >root     16937  0.0  0.2  3452 1168 ?        D    09:40   0:00
> >/sbin/mount.smbfs
> >1064     19473  0.0  0.0  1456  476 pts/7    D<   09:55   0:00 cat
> >/mnt/smb/bais
> >root     20152  0.0  0.2  3452 1168 ?        D    10:00   0:00
> >/sbin/mount.smbfs
> >root     22286  0.0  0.2  3452 1168 ?        D    10:20   0:00
> >/sbin/mount.smbfs
> >I have tried to kill and kill -9 all of these processes but no luck.  I have
> >tried to remove the smbfs module but no luck.  Soon I will be rebooting if I
> >cannot think of anything.
> 
> But you can execute the "mount" command?

I did go ahead and reboot.  WAAAAAA.  

I tried a script that was:
umount /mnt/smb/baiscan 
mount /mnt/smb/baiscan

and no luck.

I did however not verify that it got to the second line there which was the
mount.

To prevent this from happening again I will probably put the files of interest
on a different server and access it from the win machine through smb and the ap
server through nfs.

If it happens again I will run a strace and try the proc stuff.

Dirk
> 
> I've had luck goining in /proc/{pid#} and using the closefd utility to knock
> processes out of the files they are waiting on.  closefd tells the kernel to
> close a file description, as often a process at state "D" is waiting for an
> event on a description that is defunct.

Hmmmmm..?#*%?!

> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>