What are the conditions that trigger file system check at system startup in Ubuntu 11.10?
There's a few conditions which will trigger a fsck when a filesystem is mounted.
Firstly the maximum mount count, and the check interval. To see these, try:
You're looking for:
Here you can see my drive has been mounted 9 times since it was last checked, and it will force a check after 29 mounts just to make sure everything is still okay. It will also do one after 6 months even if the maximum mount count hasn't been reached. (these values are also tweakable with
Secondly, if the filesystem is not cleanly unmounted, the next mount attempt will trigger a fsck. This is also in the