During system boot, the following errors appeared:
- The XFS log (journal) on the root filesystem was corrupted.
- The system was using LVM (Logical Volume Manager), and
/sysroot
couldn't mount properly.
Run:
blkid
xfs_repair /dev/mapper/almalinux-root
If you’re unable to repair without clearing the journal, use the -L
flag (this will clear the journal, and may cause data loss):
xfs_repair -L /dev/mapper/almalinux-root
🔴 Warning: The -L
flag clears the journal, which may cause recent data loss.
After the repair, reboot the system to check if it boots successfully:
reboot
If this guide helped you, feel free to star ⭐ this repository and share it with others!