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"
Alan McKay wrote:> 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 :-)No out of band management? nate
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'ingIt 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
> 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 :-)<snip> Two things: make sure that the sixth field in /etc/fstab isn't zero, or it won't be checked. The other thing to consider is how long will the fsck take - minutes, hours, days? How big are the filesystems? mark