今天使用centos7断电后,重启进入不到系统去,界面显示的是Entering emergency mode. Exit the shell to continue.xxxxxxxx信息
Generating “/run/initramfs/rdsosreport.txt”
“Entering emergency mode. Exit the shell to continue”
“Type ‘journalctl’ to view system log.”
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 -v -L /dev/dm-0
执行完上述命令后再使用exit命令
退出即可