[Samba] how do i umount a device busy ?

2003-02-21 Thread Ken Walker
I have mounted a win98 machine from a ML8.1 samba 2.2.2

The win98 machine, as all windows machines do, crashed on me. 

Now i can't unmount the mounted folder, If i do it from cli, i get

umount usr/Cad12: device busy.

If i try and cd to that folder, the console freezes and only kill
application will shut it down.

I tried as su and on another Virtual console as root, but it will not
umount. I've shut down the win98 machine and powered it up again. But it
still will not umount.

Also how do i kill a virtual console which is not responding.


Many thanks

Ken
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] how do i umount a device busy ?

2003-02-21 Thread ascannel

I have mounted a win98 machine from a ML8.1 samba 2.2.2
The win98 machine, as all windows machines do, crashed on me.
Now i can't unmount the mounted folder, If i do it from cli, i get
umount usr/Cad12: device busy.

Try

#lsof /usr/Cad12

to find which process to kill.

When you try to unmount a filesystem and are denied with a Filesystem
Busy message, use lsof to determine what process is holding onto the
mountpoint. For example:

# /usr/sbin/lsof /mnt/cdrom

In this case, /mnt/cdrom is the mountpoint in question, and lsof will
tell you if any processes have opened any files on that particular
filesystem.

hth, Patrick




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] how do i umount a device busy ?

2003-02-21 Thread Patrick Gunerud
Did you try fuser -km /mount to kill all processes accessing it then 
umount device?

Patrick

Ken Walker wrote:

I have mounted a win98 machine from a ML8.1 samba 2.2.2

The win98 machine, as all windows machines do, crashed on me. 

Now i can't unmount the mounted folder, If i do it from cli, i get

umount usr/Cad12: device busy.

If i try and cd to that folder, the console freezes and only kill
application will shut it down.
I tried as su and on another Virtual console as root, but it will not
umount. I've shut down the win98 machine and powered it up again. But it
still will not umount.
Also how do i kill a virtual console which is not responding.

Many thanks

Ken
 



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] how do i umount a device busy ?

2003-02-21 Thread bkrusic
Hi,

Would it be appropriate to do a killall {smbd,nmbd} ?

Seems like its down to drastic measurs.
Bri-

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba