centos重启出现type Control-D to continue【fsck使用】

VMware vSphere克隆异常
/dev/sda2:UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e.,without -a or -p options)
[FAILED]
***An error occurred during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
Give root password for maintenance
(or type Control-D to continue)

可能因为机器异常关机导致无法识别磁盘,需要检测修复。错误中已有提示
处理办法:
1、直接输入密码回车, vi /etc/fstab编辑状态提示只读
2、根据错误提示执行 fsck /dev/sda2 检查修复磁盘(不需要加-y),如果有其他磁盘(fdisk -l)了也检查下,提示输入y(es)
3、reboot

参考
https://blog.csdn.net/sh3nshu/article/details/46820371

posted @ 2019-11-05 16:22  ritchy  阅读(2885)  评论(0编辑  收藏  举报