Linux全般


概要

サーバーのファイル・システムなどが「Read Only」となり、書き込みができなくなるなどの障害時に下記エラーが表示されて、起動できなくなる場合があります。

Checking filesystems

/12: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
            (i.e., without -a or -p options)

*** 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):


その場合は、手動でfsckを実行することで、解決する場合があります。

対処

*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):         <=== root のパスワードを入力。
(Repair filesystem) 1 # fsck -y /dev/VolGroup01/LogVol01     <=== lvmで運用している場合は、VolmeNameを指定する。 

以上で、fsckが実行された後に、自動的にrebootされてエラーが表示されることなく、対象のファイル・システムがマウントされていればOkです。




トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11