Tuesday, September 5, 2017

Scheduled File system checks in Ubuntu

Scheduled File system checks in Ubuntu


On how to geek I found this tip:

If you�re using Ubuntu, you will notice that Ubuntu runs an FSCK session when you boot your system from time to time. If you find this scheduled check annoying, you can re-schedule the scan using the �tune2fs� command. Here�s how it typically looks like:

The mount count parameter tells us that Ubuntu scans our hard disk after 33 disk mounts.

We can configure the mount count using the �-c� option:
sudo tune2fs -c 35 /dev/sda1
This command will re-configure Ubuntu to scan our hard disk after 35 hard disk mounts when the system boots.
Note: change �/dev/sda1/� with your own partition

download file now

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.