[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: kernel 2.4.9-20 on rawhide



Terry A. Bowling wrote in <3C595033.82002696@verizon.com>:
> 
> [root@fwin175 rpms]# fuser -kv /spare
> 
>                      USER        PID ACCESS COMMAND
> /spare               root     kernel mount  /spare
> No automatic removal. Please use  umount /spare
> 
> Then I try umount:
> 
> [root@fwin175 rpms]# umount /spare
> umount: /spare: device is busy
> 
> Any other thoughts???

Yes; I've seen this problem too.  Anything that is "using" the filesystem
will keep it from being unmounted.  This may be something other than an
open file.  If any process's CWD (current working directory) is in the
filesystem, the fs cannot be unmounted until the process is killed.
For example:
 $ cd /spare
 $ netscape&
 $ cd /

This will keep the filesystem "in use" as long as netscape is running.
I know of no other way to be able to unmount it than to kill the process.
(I would be thrilled if someone corrected me.)

If you're not sure, you can check in the /proc tree for various
processes's CWDs.

--
Bryan Medsker
bryan@ak.net





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []