Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following except is taken from the logwatch of a production LAMP web server I'm about to inherit. It is a dedicated Dell server running CentOS 5 with RAID 1 across two 1TB drives.

I have little to no experience with anything other than configuring Apache, PHP and MySQL (I don't know much about the L in LAMP) so I'm unsure what to do about the following:

WARNING:  Kernel Errors Present
    EXT3-fs warning: mounting fs with errors, running e2fsck ...:  1 Time(s)

 1 Time(s): EXT3 FS on sdb1, internal journal
 1 Time(s): EXT3 FS on sdc1, internal journal
 1 Time(s): EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
 2 Time(s): EXT3-fs: mounted filesystem with ordered data mode.
 2 Time(s): kjournald starting.  Commit interval 5 seconds

What do these errors mean in Layman's terms? What is your recommended course of action? Any advice is very much appreciated. Thanks in advance!

share|improve this question
up vote 6 down vote accepted

That is not a hard error at all. ext3 has a parameter to configure "every X mounts or Y days the filesystem should be checked". Your "error" just says that exactly this is the case. There is nothing to worry about.

You can configure this behaviour with tune2fs.

If you want an fsck every 100 mounts:

tune2fs -c 100 /dev/sdx1

And to set the time limit (in this case to 90 days):

tune2fs -i 90d /dev/sdx1

If you want to turn it off set both parameters to "0"

share|improve this answer
Thanks. So e2fsck is the program to check and repair for disk errors and tune2fs is the program to configure reminders to run e2fsck? – GhostInTheSecureShell Jun 6 '13 at 14:49
tune2fs can do much more than this, but basicaly you are right. – Pascal Schmiel Jun 6 '13 at 14:53
Ok, thanks for your help. – GhostInTheSecureShell Jun 6 '13 at 14:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.