Re: mount -o remount,ro cause error "device is busy"

From: Petro (petro@auctionwatch.com)
Date: Wed Mar 06 2002 - 21:27:49 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:58 EST