How to Force fsck on Next Linux Reboot
Filesystem corruption occasionally happens. When it does, you need fsck to run before the system fully mounts its filesystems. Here’s how to force a filesystem check during the next boot. Using touch to Mark Filesystems The traditional method is to create /forcefsck: sudo touch /forcefsck sudo reboot On the next boot, the system will check…
