Rocky 9.x Force rescan or fsck of ext filesystem on reboot
From Notes_Wiki
Home > Rocky Linux or CentOS > Rocky Linux 9.x > System Administration > File system management > Force rescan or fsck of ext filesystem on reboot
We may want to enforce fsck or checking of ext partition on reboot. For that use:
tune2fs -c 1 /dev/sdXY
The above will cause filesystem to get scanned on reboot.
Refer:
Home > Rocky Linux or CentOS > Rocky Linux 9.x > System Administration > File system management > Force rescan or fsck of ext filesystem on reboot