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 ?
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.