CentOS Forcing fsck after reboot

Simply touch a file in the root of your filesystem like so, and then reboot.

While you’re at it you can specify options for fsck by adding them to /fsckoptions:

Be aware that CentOS 7 now uses XFS as a filesystem by default, things have changed – your mileage may vary

Leave a Reply

Your email address will not be published. Required fields are marked *