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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM