Re: unattended fsck on reboot

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



> 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux