当前位置: 移动技术网 > 科技>操作系统>Linux > centos重启出现type Control-D to continue【fsck使用】

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

2019年11月06日  | 移动技术网科技  | 我要评论

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

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网