[Samba] i wanna umount....

Urban Widmark urban at teststation.com
Sun Jul 7 15:32:01 GMT 2002


On Sun, 7 Jul 2002, SaDIKuZboy wrote:

> i wanna umount a smb mounted directory when the host is turned off
> it says "resource busy" when i umount.. how to do it?

Dou you mean that it says "device is busy" ?

When you get that message there is a process still accessing the mount,
and you must remove that process before umounting.


When the server is shut down processes tend to hang on smbfs. That is
probably what has happened to you. If you wait long enough they will time
out.

You can also test this patch for 2.4.19-pre9 that should make processes
time out after 30 seconds:

http://www.hojdpunkten.ac.se/054/samba/smbfs-2.4.19-pre9-poll.patch

/Urban





More information about the samba mailing list