lkml.org 
[lkml]   [2002]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[OT] unable to umount ... device busy
Date
Well, sorry for bringing this up here3 but I do not know
of a better forum for this subject...

Working in an environment of multiple Linux systems
(and wildly using NFS and am-utils) I have hit this problem
many times and in some cases I can describe it as "embarrassing".

The problem is that processes that do not really care about their
working directory are standing in the way of umount.
It is most painful when I cannot eject a CD (or other removable
device) and sometimes with NFS mounted directories.

Most guilty programs:
su + the pam patch (as distributed by redhat) there's a process just
waiting for the shell to exit.
Daemons - should cd to "/" except if there is some other preferred
directory.

Related subject and not completely OT: I remember in AIX, umount -f
(forced umount) marked all the open inodes on the device as
STALE and then proceed (and never return EBUSY). Any plans
to implement it also for Linux?

-- Itai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.031 / U:1.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site