700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > CentOS7虚拟机断电 出现:“Entering emergency mode. Exit the shell to continue.”

CentOS7虚拟机断电 出现:“Entering emergency mode. Exit the shell to continue.”

时间:2022-05-24 04:17:20

相关推荐

CentOS7虚拟机断电 出现:“Entering emergency mode. Exit the shell to continue.”

按照以下方法解决了。

log中有提示输入journalctl:查看系统的日志信息;

直接输入此命令查看,日志内容可能很多,快速翻页或者直接定位到最新的日志信息,发现有标红的,说明此处出现错误。

错误原因:

failed to mount /sysroot.Dependency failed for Initrd root File System.Dependency failed for Reload configuration from the Real Root.

解决问题:

输入命令

xfs_repair -v -L /dev/dm-0

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

PS:XFS一种高性能的日志文件系统

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。