Disable ext3 boot-time check with tune2fs

by
Ryan
on
October 26, 2008

The ext3 file system forces an fsck once it has been mounted a certain number of times. By default this maximum mount count is usually set between 20-30. On many systems such as laptops which can be rebooted quite often this can quickly become a problem. To turn off this checking you can use the tune2fs command.

The tune2fs command utility operates exclusively on ext2/ext3 file systems.

To run these commands you must run the command as root or use sudo. You must also make sure that your filesystem is unmounted before making any changes. If you are doing this on your root partition the best solution is to use a LiveCD.

You can run tune2fs on the ext3 partition with the ‘-l‘ option to view what your current and maximum mount count is set to currently.

tune2fs -l /dev/sda1
...
Mount count:              2
Maximum mount count:      25
...

To turn off this check set the maximum count to 0 with the ‘-c‘ option.

# tune2fs -c 0 /dev/sda1

If you do not want to completely disable the file system checking, you can also increase the maximum count.

# tune2fs -c 100 /dev/sda1
1 Comment
system administration
, , , , , , , ,

No related posts.

Comments (1)

this only prevents for mount count limit. But not prevents for last check time expiration. You can use tune2fs -T YYYYMMDD pointing actual date before system restart.

Trackbacks (0)

No trackbacks yet

Leave a Comment

(displayed with your post)
(will not be published)
(optional)
Copyright 2008-2010 WiredRevolution.com. All rights reserved.