If you’ve used Ubuntu based systems such as Klikit-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.
The following applies to ext3 filesystems (and ext2):
tune2fs (included already in Klikit-Linux) is a utility that you can use to change both the number of bootups between filesystem checks, and the number of days/weeks/months between filesystem checks.
For example:
To have the filesystem checked once every 60 bootups use the following command:
sudo tune2fs -c 60
To have the filesystem check run periodically, say once a week, use the following command (substituting the appropriate variables):
sudo tune2fs -i 1w /dev/xxx
w=weekly
d=daily
m=monthly
Changing the “w” to “d” or “m” will have the check run once daily and once monthly (you get the idea ).
The /dev/xxx portions of the above command line will depend on the location of your hard drive (i.e. /dev/sda1)
Remember: Don't forget to include the device at the end!
As always, you can also read the man pages for more detailed information and examples by using the following command:
man tune2fs
Other information and possible resolutions can be found in this Ubuntu article:
Ubuntu 30-Mount Check Annoyance
Thanks to info contributed by Chris_(medico_2001)
-geekydude
Comments (0)
You don't have permission to comment on this page.