Odi's astoundingly incomplete notes

New entries | Code

I fsck ext4 on EACH boot

An LWN article suggests to disable maximum mount count. I do the opposite. I fsck on each boot. fsck on ext4 is very fast these days even on large filesystems. If you are like me and run the latest kernel it may save your butt from fs regressions that do sometimes happen.
tune2fs -c 1 /dev/disk/by-label/ROOT

posted on 2017-07-27 14:28 UTC in Code | 0 comments | permalink