[CentOS] unattended fsck on reboot

Rudi Ahlers rudiahlers at gmail.com
Thu Feb 18 00:26:25 UTC 2010


On Thu, Feb 18, 2010 at 2:13 AM, nate <centos at linuxpowered.net> wrote:

> Rudi Ahlers wrote:
>
> > Is it "absolutely" necessary to run this on servers? Especially since
> they
> > don't reboot often, but when they do it takes ages for fsck to finish -
> > which on web servers causes extra unwanted downtime.
> >
> > Or is there a way to run fsck with the server running? I know it's a bad
> > idea, but is there any way to run it, without causing too much downtime?
> I
> > just had one server run fsck for 2+ hours, which is not really feasible
> in
> > our line of business.
>
> For me at least on my SAN volumes I disable the fsck check after X
> number of days or X number of mounts. Of all the times over the years
> where I have seen this fsck triggered by those I have never, ever seen
> it detect any problems.
>
> I don't bother changing the setting for local disks as it is usually
> pretty quick to scan them. You must have a pretty big and/or slow
> file system for fsck to take 2+ hours.
>
> nate
>
>
> _______________________________________________
>


This particular server has 2x 500GB HDD's with failry "full" XEN VM's on it,
each with it's own LVM volumes, so I guess it's a bit more complex than a
normal ext2 system :)

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100218/8dbd3af7/attachment.html>


More information about the CentOS mailing list