0

How to change FSCK (check disk) frequency in Ubuntu

Linux

If you are a regular Ubuntu user you are familiar with fsck checking your partitions every 30 mounts (by default!).  Until now this has only been a minor annoyance to me as my partitions checked out quickly and the boot could progress.  

The new laptop however, has a huge hard drive and seems to take FOOOOOORRRRRREEVVVVER to complete.  So, I decided it was time to find out about changing that whole "every 30 mounts" thing.

No surprise here...a quick check of Ubuntu Forums yielded the answer I was looking for.  

Basically you can change the number of mounts, set an interval for scanning, or do both, using tune2fs

If you'd like to add an interval argument, you can use the "-i" switch, then the number of (d|w|m).

Examples:

 

If you don't know the names of the partion devices in your system, you can run (in a terminal)  df

Here is the source thread

tags:
Linux
Little Bobby Tables said:
 
Just what I needed! Thanks.
 
posted 663 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Fuelly