[KLUG Members] Issue with unmounting an smbmount.
members@kalamazoolinux.org
members@kalamazoolinux.org
Mon, 30 Sep 2002 13:56:59 -0400
>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?
If you strace -p on one of these where is it stuck?
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.