Rocky 9.x Force rescan or check of xfs filesystem on reboot
From Notes_Wiki
Home > Rocky Linux or CentOS > Rocky Linux 9.x > System Administration > File system management > Force rescan or check of xfs filesystem on reboot
To force rescan or check of xfs filesystem on reboot use:
- Edit /etc/fstab file and change values in last two columns to non-zero
- Create a file using:
- touch /forcefsck
- Reboot the machine to start scan
- shutdown -r now
Refer:
Home > Rocky Linux or CentOS > Rocky Linux 9.x > System Administration > File system management > Force rescan or check of xfs filesystem on reboot