【問題描述】
RD那邊來電,說用putty連線restart後5分鐘都連不進去
我就進機房看該台Server本機畫面
/dev/VolGroup00/LogVol00 check forced 到約68%左右就出現Error
出現以下 FAILED 訊息
Checking filesystems
/dev/VolGroup00/LogVol00 contins a file system with errors, check forced.
Error reading block 113442968 (Attempt to read block from filesystem resuited in short read) while doing inode scan.
/dev/VolGroup00/LogVol00: 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):
按下鍵盤的Ctrl+D會reboot,但結果一樣又FAILED
【解決方法】
輸入 root密碼,進到 (Repair filesystem)1# 模式下
輸入 fsck -y /dev/VolGroup00/LogVol00,自動回覆y修復邏輯卷
自動修復邏輯卷完畢後
(Repair filesystem) 2# 再輸入 reboot 即可
再來應可正常進入OS中,完工

Hi.試著用此方法,可是卻回應: fsck.ext2: No such file or directory while trying to open /dev/VolGroup/LogVol00. 想請問有解決方法嗎?謝
根據您提供的資訊,少輸入VolGroup的編號,找不到檔案或目錄是正常的 VolGroup和LogVol的編號是什麼,請以Checking filesystems 『/dev/VolGroup00/LogVol00』 contins a file system with errors, check forced. 訊息中顯示的為主,此案例中剛好是VolGroup00/LogVol00出問題,才會針對其修復邏輯卷,但建意修覆完後成功進入還是趕快再做重要資料的備份,之前的經驗是自動修復邏輯卷可正常進入沒幾天後硬碟還是掛了