Skip to content
Blog Ubuntu 30-Mount Check Annoyance

Ubuntu 30-Mount Check Annoyance

If you’ve used Ubuntu Linux for longer than a month, you’ve no doubt realized that every 30 times you boot up you are forced to run a filesystem check. This filesystem check is necessary in order to keep your filesystem healthy. Some people advise turning the check off completely, but that is generally not a recommended solution. Another solution is to increase the number of maximum mounts from 30 to some larger number like 100. That way it’s about 3 times less annoying. But this solution is also not recommended. Enter AutoFsck.

AutoFsck is a set of scripts that replaces the file system check script that comes shipped with Ubuntu. The difference is that AutoFsck doesn’t ruin your day if you are so unfortunate to encounter the 30th mount. The most important difference is that AutoFsck does its dirty work when you shut your computer down, not during boot when you need your computer the most!

The 30th time you mount your filesystem, AutoFsck will wait until you shut down your computer. It will then ask you if it is convenient for you to check your filesystem. If it is convenient for you, then AutoFsck will restart your computer, automatically execute the filesystem check, and then immediately power down your system. If it is not convenient for you to check your filesystem at that moment, then AutoFsck will wait until the next time you shut down your computer to ask you again. Being prompted for a file system check during shutdown is infinitely more convenient than being forced to sit through a 15 minute check during boot up.

So, here’s how you get going with AutoFsck.

  • First, you need to download the package. It is available on the project page, but here is a direct link.
  • Extract the contents of the archive to anywhere that’s convenient for you.
  • Inside that folder, run the script called ‘install’.
  • Follow the on-screen instructions.
  • AutoFsck will start working immediately.

I haven’t done much reading about whether or not this script will be included in the next release of Ubuntu, but I definitely think it should be. AutoFsck finally makes Ubuntu the ultimate distribution of Linux.

– EDIT–

As many visitors have suggested, Bonager is also a good solution for this issue. Bonager sits in your system tray and lets you easily see how many boots you have left until a scan is required. It will warn you if a scan is about to happen, and it also lets you force a scan early if you want to get it out of the way. This solution does not check the filesystem on shutdown like AutoFsck does, so if you’re not paying attention or you forget that a check is coming, you might still be surprised.

More Topics:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.