CentOS default never fsck root partition on start up?

Posted by wwwpanda on Server Fault See other posts from Server Fault or by wwwpanda
Published on 2014-06-05T07:58:41Z Indexed on 2014/06/05 9:29 UTC
Read the original article Hit count: 438

Filed under:
|
|
|

Most documentation or sites will say use "tune2fs -l " to check if the system will do fsck on the system partitions on next boot, in particular, should look at "Mount count" and "Maximum mount count" values. However, I notice for default CentOS 5 or 6 installation, when I check against the root partition, I always noticed something like this from tune2fs output:

...
Mount count:              91
Maximum mount count:      -1
Last checked:             Thu Oct 29 18:48:14 2009
Check interval:           0 (<none>)
...

i.e. the max. mount count is set to "-1". That makes me wonder does it mean CentOS (or Red Hat) won't check the root partition at all? I check the fstab, the last number for root partition is still "1" as usual. If the OS does fsck the root partition during startup, how can I tell when (i.e. after how many reboots or when) will the OS will start fsck the root parition during startup?

© Server Fault or respective owner

Related posts about linux

Related posts about centos