[CentOS] unattended fsck on reboot

Wed Jan 6 17:19:21 UTC 2010
Alan McKay <alan.mckay at gmail.com>

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

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"