Messages in this thread | | | Date | Wed, 6 Mar 2002 18:27:49 -0800 | From | Petro <> | Subject | Re: 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/
| |