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

Re: run extensive check on root filesys?



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.
{^_^}





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