lkml.org 
[lkml]   [2002]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mount -o remount,ro cause error "device is busy"
On Wed, Mar 06, 2002 at 05:33:45PM +0900, Michael Cheung wrote:
> hi,
>
> maybe i am wrong, but I really can't find any other process runing.
>
> my step is:
> 1) "/" and "/usr" are busy
> 2) shut down to single user mode
> 3) "/" still busy
> 4) "/usr" can be unmounted, but can't mount -o ro,remount /usr, show busy error.
> 5) umount -a, after this, only /proc and / exist.
> 6) mount -o ro,remount /, show busy error.
> On Wed, 6 Mar 2002 01:15:19 -0700
> Andreas Dilger <adilger@clusterfs.com> wrote:
> > Clearly, some program is keeping "/usr" busy (which is keeping "/" busy)
> > before the change to single user mode. Just a bit of "lsof" needed to
> > find such things. ||||
^^^^
Best bet is to man lsof.

lsof's your buddy.

--
Share and Enjoy.
-
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:24    [W:0.066 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site