Is there a way to reduce the avarage time it takes to fsck a device?

Posted on

Is there a way to reduce the avarage time it takes to fsck a device? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, fsck, slackware, , .

I don’t want to avoid doing a fsck, but I would like to know if there is a better approach so it doesn’t take ages to complete the process when it runs after a reboot 180 days later.

If you had it ran 20 days ago and then do it again, will it be faster or it does a full check all the time and it would be meaningless to do such thing ?

What would be the best practice to keep it up to date and yet minimize the time it takes to recheck each run ?

Solution :

Running fsck more often won’t help.

What will help is using ext4 instead of ext3. This is an explicit design goal of the updated filesystem.

Switch to XFS. Fsck scans will become instant.

Delete all unnecessary files. fsck‘s time is proportional to the number of files it checks.

Leave a Reply

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