[CentOS] unattended fsck on reboot

Les Mikesell lesmikesell at gmail.com
Wed Jan 6 17:45:46 UTC 2010


On 1/6/2010 11:19 AM, Alan McKay wrote:
> Hey folks,
>
> I searched the list archives and found this :
>
> echo "AUTOFSCK_TIMEOUT=5">  /etc/sysconfig/autofsck
> echo "AUTOFSCK_DEF_CHECK=yes">>  /etc/sysconfig/autofsck
>
> http://lists.centos.org/pipermail/centos/2006-November/029837.html
> http://lists.centos.org/pipermail/centos/2009-September/thread.html#81934
>
> Will this do all disks?
>
> I want to do a reboot of a couple of systems during our maintenance
> window and fsck them, but would rather try it from home first and not
> go to the data center.  Then of course rush there like a madman if
> they don't come back up :-)
>
> There was a suggestion in the 2nd thread above that with ext3 this
> should not be required with proper hardware (my paraphrase).   I'm
> using all IBM stuff - x3550, x3650, x3800 and some of the earlier
> models like x330.  I can't imagine this being an issue.   But
> nonetheless I do have some issues on a couple of systems that look
> like they need fsck'ing

It will happen by itself at some default interval.  I've forgotten 
exactly what the timing is but it is infrequent enough that it always 
takes me by surprise when it takes an extra 10 minutes for a remote 
system to come back up.

-- 
   Les Mikesell
    lesmikesell at gmail.com


More information about the CentOS mailing list