系统开机即进入救援模式,报错如下:

Generating “/run/initramfs/rdsosreport.txt”

Entering emergency mode. Exit the shell to continue.

Tupe “journalctl” to view sustem logs.

You might want to save “/run/initramfs/rdsosreport.txt” to a USB stick or /boot after mounting them and attach it to a bug report.

通过提示:查看日志journalctl如下错误

XFS (sda3): Corruption of in-memory data detected. Shutting doum filesystem

XFS (sda3): Please umount the filesustem and rectify the problem(s)

XFS (sda3): Failed to recover intents

以上显示vda3 文件系统损坏,执行如下修复命令,然后重启就行

umount /dev/sda3 //如果没有进入救援模式,需要先umount,然后修复
xfs_repair -v -L /dev/sda3
reboot