雾里看浮光
不管遇到什么事情,都要调整好自己的心态,用最好的自己重新开始,自甘堕落只会越来越糟糕!加油!

问题:云环境下CentOS系统断电或强制关机,再开机出现问题:Entering emergency mode. Exit the shell to continue.

Generating "/run/initramfs/rdsosreport.txt"

Entering emerfency mode. Exit the shell to continue.
Type "jaurnalctl" to view system logs.
You might want to saue "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

解决方法:
1.查看系统日志,找到问题所在,发现有标红的,说明此处有问题;

:/# journalctl

2.输入命令

:/# xfs_repair -v -L /dev/dm-0

注:-L 选项指定强制日志清零,强制xfs_repair将日志归零,即使它包含脏数据(元数据更改)

posted on 2019-12-05 10:06  雾里看浮光  阅读(1186)  评论(0编辑  收藏  举报