Centos7 系统崩溃: corruption of in-memory data detected
出去做个核酸检测,回来电脑蓝屏了。。。里面还运行着虚拟机,果不其然开机后我的虚拟机系统崩溃了的(;´༎ຶД༎ຶ`)

使用journalctl查看下日志,提示:corruption of in-memory data detected

使用 ls -l /dev/mapper/ 查看下,发现 centos-root 文件没有了软链接指向,正常应该如下:
1 | [root@node1 ~]# ls -l /dev/mapper/ |
使用 xfs_repair 修复下 centos-root,执行命令:xfs_repair /dev/mapper/centos-root

修复完成后init 6重启即可
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 云野生SRE回忆录!