Linux啟動檢測磁碟失敗

來源:互聯網
上載者:User

 

在重啟公司一台測試環境的red as5的機器之後,過了很長一段時間都無法ssh上去,

跑到機器前面看了下,出現了磁碟檢測錯誤:

checking filesystems /dev/volgroup00/logvo100:unexpected inconsistency;run fsck manually. (i.e.,without -a or -p options) *** an error occureed during the file system check. .....

啪啦啪啦,暈倒,我說怎麼這麼久都沒起來,

唉,按照提示來操作把。(repair filesystem)1#fsck -a fsck 1.39(29-may-2006) /dev/volgroup00/logvo100 contains a file system with errors,check forced. 。。。。

出現提示說在讀取某個block的時候出現錯誤,用fsck進行修複:(repair filesystem)1#fsck

過了一段時間之後完成了修複,reboot機器即可。

 

ps,在修複過程中會讓你輸入y進行確認修複,其實可以使用fsck -y自動回答。

 

-The End-

 

作者 Gtlions

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.