虚拟机centos7无法正常启动(XFS (vda3): Corruption of in-memory data detected. Shutting doum filesystem)

书到用时方恨少,事非经过不知难。这篇文章主要讲述虚拟机centos7无法正常启动:XFS (vda3): Corruption of in-memory data detected. Shutting doum filesystem相关的知识,希望能为你提供帮助。
系统开机即进入救援模式,报错如下:
Generating "/run/initramfs/rdsosreport.txt"
【虚拟机centos7无法正常启动(XFS (vda3): Corruption of in-memory data detected. Shutting doum filesystem)】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 (vda3): Corruption of in-memory data detected. Shutting doum filesystem
XFS (vda3): Please umount the filesustem and rectify the problem(s)
XFS (vda3): Failed to recover intents


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

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


    推荐阅读