Rocky 9.x Force rescan or check of xfs filesystem on reboot

From Notes_Wiki
Revision as of 05:53, 8 October 2023 by Saurabh (talk | contribs) (Created page with "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: #:<pre> #:: t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

  1. Edit /etc/fstab file and change values in last two columns to non-zero
  2. Create a file using:
    touch /forcefsck
  3. 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