Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: bryan@ak.net
To: axp-list@redhat.com
Subject: Re: kernel 2.4.9-20 on rawhide
Date: Thu, 31 Jan 2002 17:07:29 -0900 (AKST)	[thread overview]
Message-ID: <20020201020730.31841.qmail@avalon.gci.net> (raw)
In-Reply-To: <3C595033.82002696@verizon.com> from "Terry A. Bowling" at Jan 31, 2002 09:09:55 AM

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




  reply	other threads:[~2002-02-01  2:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-30 21:55 kernel 2.4.9-20 on rawhide Benton, Marco 
2002-01-30 22:14 ` Terry A. Bowling
2002-01-31  8:56   ` Linus Gasser
2002-01-31 14:09     ` Terry A. Bowling
2002-02-01  2:07       ` bryan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-30 20:04 Robert M. Riches Jr.
2002-01-30 21:09 ` Terry A. Bowling
2002-01-30 19:40 Terry A. Bowling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox