CentOS 6.4 開機 unexpected inconsistency run fsck manually 問題的修複

來源:互聯網
上載者:User

CentOS 6.4開機提示:

unexpected inconsistency;RUN fsck MANUALLY

An error occurred during the filesystem check

Propping you to shell the system will reboot

when you leave the shell

Give root password for mantennance

輸入密碼後進入shell命令環境,

fsck /dev/sda2檢查分區,提示:

fsck.LVM2_member:not found

fsck: Error 2 while executing fsck.LVM2_member for /dev/sda2

我用livecd引導開機(可能不需要用livecd,可以直接在開機的shell下運行),運行:

1、查看物理卷:pvs

PV       VG       Fmt   Attr PSize PFree
   /dev/sda2   VolGroup00 lvm2 a- 279.22G 32.00M

2、查看卷組:vgs

VG       #PV #LV #SN Attr VSize VFree
   VolGroup00 1 4 0 wz--n- 279.22G 32.00M

3、查看邏輯卷:lvdisplay

--- Logical volume ---
   LV Name             /dev/VolGroup00/LogVol03
   VG Name             VolGroup00
   LV UUID             YhG8Fu-ZGPk-qt8D-AxgC-DzOU-dg1F-z71feI
   LV Write Access        read/write
  LV Status              unenable
   # open                 1
   LV Size             245.97 GB
   Current LE          7871
   Segments             1
   Allocation          inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:2

4、如未啟用,需要啟用邏輯卷:vgchange -ay /dev/VolGroup00

LV Status              available

5、用fsck /dev/VolGroup00/LogVol03,之後會提示修正錯誤,按y即可。

修複後重啟,問題解決。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.