[CentOS] unattended fsck on reboot

Robert Heller heller at deepsoft.com
Thu Feb 18 12:33:59 UTC 2010


At Thu, 18 Feb 2010 10:07:27 +0100 CentOS mailing list <centos at centos.org> wrote:

> 
> On 02/18/2010 09:54 AM, Rudi Ahlers wrote:
> ...
> > But, how does one get past this? I know we need to reboot from time to time,
> > but more than often it's (preferably) not sooner than 6 - 10 months, so fsck
> > will run.
> 
> Turn off automatic fsck with "tune2fs -i 0 -c 0" and instead
> do a manual fsck (reboot with forcefsck or "touch /forcefsck" before
> reboot) at regular intervals. This must be done on the VM's as well.
> 
> Announce the downtime to the users
> in advance and do it in the evening or weekend.

And stagger the fscks to spread things out and shorten the downtimes.

> 
> Mogens
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
                  


More information about the CentOS mailing list