[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: run extensive check on root filesys?



On Wed, Jan 30, 2002 at 03:02:51PM -0800, J. Dow wrote:
> From: "SainTiss" <saintiss gmx net>
> 
> > reason I want to do this check is because tune2fs -l lists:
> > 
> > First orphan inode:       24744
> > 
> > And I have a feeling that's a bad thing...
> 
> > > I'd like to run an extensive check (fsck or e2fsck) on my root filesystem,
> > > but I can't do that when it's mounted... What's the best way of achieving
> > > this?
> 
> Hans, the easiest way is to use "tune2fs -C" to set the mount count high
> enough an fsck will be performed on the next reboot. Then reboot.
> 
> Otherwise it is best to drop to single user mode, telinit 1. Then remount
> root as read-only. Then run e2fsck. Once done remount root as read-write
> and "telinit 3" or "telinit 5" as appropriate.
> {^_^}
When you install 7.2 the ext3 filesystem has a a maximum mount count of -1
so fsck is never run on the ext3 filesystem.
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam trinity edu





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]