public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Michael Cheung <vividy@justware.co.jp>
Cc: Andreas Dilger <adilger@clusterfs.com>, linux-kernel@vger.kernel.org
Subject: Re: Re[2]: mount -o remount,ro cause error "device is busy"
Date: Wed, 06 Mar 2002 10:47:02 +0100	[thread overview]
Message-ID: <jeadtmgh9l.fsf@sykes.suse.de> (raw)
In-Reply-To: <20020306074908.GA342@matchmail.com> <20020306011519.C963@lynx.adilger.int> <20020306172418.C8A3.VIVIDY@justware.co.jp>
In-Reply-To: <20020306172418.C8A3.VIVIDY@justware.co.jp> (Michael Cheung's message of "Wed, 06 Mar 2002 17:33:45 +0900")

Michael Cheung <vividy@justware.co.jp> writes:

|> 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.
|> 
|> I have mentioned I have used "ps aux" to check the process list,
|> there are no user process left. except the following: (repost)
|> root         1  0.1  0.7  1056  484 ?        S    15:46   0:04 init [S] 
|> root         2  0.0  0.0     0    0 ?        SW   15:46   0:00 [keventd]
|> root         3  0.0  0.0     0    0 ?        SWN  15:46   0:00 [ksoftirqd_CPU0]
|> root         4  0.0  0.0     0    0 ?        SW   15:46   0:00 [kswapd]
|> root         5  0.0  0.0     0    0 ?        SW   15:46   0:00 [bdflush]
|> root         6  0.0  0.0     0    0 ?        SW   15:46   0:00 [kupdated]
|> root      1042  0.0  0.7  1056  484 tty1     S    16:33   0:00 init [S] 
|> root      1043  0.6  1.5  1840 1004 tty1     S    16:33   0:00 /bin/sh
|> root      1045  0.0  1.0  2260  680 tty1     R    16:33   0:00 ps aux
|> 
|> and I also checked by fuser -v /usr,
|> only used by kernel.
|> and fuser -c /, show many process list above.
|> 
|> If i have a mistake, would you like to tell me where is the mistake?

Check for references to deleted files (/proc/*/fd).  "init u" should help.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2002-03-06  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06  7:40 mount -o remount,ro cause error "device is busy" Michael Cheung
2002-03-06  7:49 ` Mike Fedyk
2002-03-06  8:13   ` Re[2]: " Michael Cheung
2002-03-06  8:15   ` Andreas Dilger
2002-03-06  8:33     ` Re[2]: " Michael Cheung
2002-03-06  9:47       ` Andreas Schwab [this message]
2002-03-07  2:27       ` Petro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeadtmgh9l.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=adilger@clusterfs.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vividy@justware.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox