I usually don't check filesystems on my DockStar, but I tried to make it run fsck at boot time now.
Before doing so
dmesg reported (twice, if I remember correctly)
$this->bbcode_second_pass_code('', '
EXT4-fs (sdc2): warning: maximal mount count reached, running e2fsck is recommended
')
tune2fs -l /dev/sdc2$this->bbcode_second_pass_code('', '
Filesystem created: Tue Mar 1 16:07:19 2011
Last mount time: Thu Jan 1 01:00:08 1970
Last write time: Thu Jan 1 01:00:04 1970
Mount count: 35
Maximum mount count: 27
Last checked: Tue Oct 4 16:13:00 2011
')
So I changed the
fstab for the root partition to
$this->bbcode_second_pass_code('', '
LABEL=root / ext4 defaults,noatime,nodiratime 0 1
')
and rebooted. Now
dmesg still claims (only once)
$this->bbcode_second_pass_code('', '
EXT4-fs (sdc2): warning: maximal mount count reached, running e2fsck is recommended
')
But mount count has changed
$this->bbcode_second_pass_code('', '
Filesystem created: Tue Mar 1 16:07:19 2011
Last mount time: Thu Jan 1 01:00:13 1970
Last write time: Thu Jan 1 01:00:09 1970
Mount count: 1
Maximum mount count: 27
Last checked: Tue Oct 4 16:13:00 2011
')
So I assume a filesystem check was executed. The last checked date (made on another box) remains unchanged because at the time of fsck running openntpd wasn't started yet. After rebooting one more time the "maximal mount" error in dmesg was gone, too. Seems to be caused by the root partition being mounted twice on every reboot:
$this->bbcode_second_pass_code('', '
Filesystem created: Tue Mar 1 16:07:19 2011
Last mount time: Thu Jan 1 01:00:08 1970
Last write time: Thu Jan 1 01:00:05 1970
Mount count: 3
Maximum mount count: 27
Last checked: Tue Oct 4 16:13:00 2011
')