k8s虚拟机未关闭,电脑重启后,虚拟机无法启动

莫名其妙电脑重启了,虚拟机连不上,心里真的是一万匹草泥马,显示如下:

Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journaletl” to view system 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.

执行:

xfs_repair /dev/dm-0
reboot

dm-0 是centos-root 的软连接

如果提示:Unmount and run xfs_repair

执行:

umount /dev/mapper/centos-root
xfs_repair -v -L /dev/mapper/centos-root
reboot

最后解决,赶紧把里面的实践资料备个份

============================= 提升自己 ==========================
> > > 1、咨询问题,请加作者微信: ren168632201
> > > 2、性能测试从0到实战: https://www.cnblogs.com/uncleyong/p/12311432.html
> > > 3、自动化测试实战: https://www.cnblogs.com/uncleyong/p/12016690.html
> > > 4、测试基础汇总: https://www.cnblogs.com/uncleyong/p/10530261.html
> > > 5、声明:如有侵权,请联系删除。
============================= 升职加薪 ==========================
原文地址:https://www.cnblogs.com/uncleyong/p/15766921.html