close


客戶在 Centos 上的 mysql 出現以下 FAILED 訊息

Checking filesystems
/dev/mapper/mysql5LogVol00 contins a file system with errors, check forced.

/dev/mapper/mysql5LogVol00 Inodes that were part of a corrupted orphan linked list found.

/dev/mapper/mysql5LogVol00: 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):


【解決方式】


輸入 root密碼,進到 (Repair filesystem)1# 模式下


輸入 fsck -y /dev/mapper/mysql5LogVol00,自動回覆 "y" 修復邏輯卷

 

 

自動修復邏輯卷完畢後


(Repair filesystem) 2# 再輸入 reboot 重新啟動即可

 

 

mysql 即可正常

 

 

 

全站熱搜
創作者介紹
創作者 BENIT 的頭像
BENIT

BenIT

BENIT 發表在 痞客邦 留言(0) 人氣()