Whatsapp/ Telegram: +65 9776 5889 Live Chat Submit Ticket   Login

Is it necessary to run fsck after every 180 days or 38 umounts?

By default, a fsck is forced after 38 mounts or 180 days.

To avoid issues such as this, we recommend scheduling fsck to run a basic weekly check on your server to identify and flag errors. Doing so can prevent unwanted, forced fsck from running in situations such as this. You can then, plan for a time at which a full system fsck is run.

This filesystem will be automatically checked every 38 mounts or
 180 days, whichever comes first. Use tune2fs -c or -i to override.

Or you can disable the fsck to be activated by itself by editing fstb, by updating the last digit of the mounted volume to zero “0” instead of 1.

/dev/mapper/vg_centos-lv_root /       ext4    defaults        1 0
About the Author
Martin has been in the Web Hosting industry for more than 2 decades. He is specialized on Web Security, Cloud Hosting, Cloud computing and different types of virtualization.