Re: How often should I fsck my ext3 partitions?



Johannes Wiedersich:

The debian default of my sarge installations is that the ext3-FS are
fsck'ed about every 30 mounts or 180 days (whatever comes first).

Just in case you don't know already: you can change that with tune2fs.

What is a reasonable schedule for a server or a workstation?

I do not know of any generally applicable rule of thumb for this
question. I do not run really important production servers, but I have
switched automatic fscking off completely on most of the workstations I
am regularly using, because it can be really annoying. And after five
years of using linux I am still waiting for the day that a run of fsck
reports problems I did not know about beforehand.

To prevent unexpected data loss, I install smartmontools on my machines
and let it regularly run hardware self tests. Of course this protection
mechanism works on a lower level than checking the integrity of the file
systems, but I have never seen an ext3 or XFS filesystem being corrupt
without hardware errors (or hard shutdowns).

Production servers are different, obviously, but since you normally
don't reboot them at regular intervals, running fsck at reboot time
every $x days or every $y reboots doesn't gain you anything. I am
inclined to believe that this feature stems from earlier times when the
filesystem modules have not been as reliable as they are today.

J.
--
Whenever I hear the word 'art' I reach for my visa card.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Broadcom NetXtreme NIC
    ... but I normally have some reason to reboot about 1/month. ... It didn't go to "sleep" as this was an actively running server during regular ... Switching ports is no help. ...
    (microsoft.public.windows.server.general)
  • Re: Terminal server: Scheduled Restarts
    ... most systems need a regular reboot. ... I intend to stay on this reboot schedule. ... MCSE,CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Request to MCX mfgs
    ... acesspoints and remote PCs...too many things that could go ... and reboot the PC, reboot the router etc. ... Why not include regular TV capabilities direct from a STB or the wall with a ... That way you could viewing Live TV without ...
    (microsoft.public.windows.mediacenter)
  • Re: Rebooting Switches?
    ... > We have many 2950 switches. ... They aren't really rebooted on a regular ... > schedule and unless they have problems, ... You have to reboot them after installing security updates. ...
    (comp.dcom.sys.cisco)
  • How to shut down exchange server
    ... What is the recommended process to shut down exchange 2000 and 5.5 before a ... Do I just do a regular restart?.....or dismount store and stop ...
    (microsoft.public.exchange.misc)