RAID状態確認
とりあえずサーバーにログインして状態を確認
#gmirror status Name Status Components mirror/mrr1 DEGRADED ad8 mirror/mrr2 COMPLETE ad10 ad13 mirror/mrr0 COMPLETE ad12 ad14
ぎゃー!、mrr1が片肺運転状態。相棒のad6が死んでる?
とりあえずatacontrolでディスクの状態を確認する。
#atacontrol list ATA channel 0: Master: no device present Slave: acd0ATA/ATAPI revision 0 ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: ad8 Serial ATA II Slave: no device present ATA channel 5: Master: ad10 Serial ATA II Slave: no device present ATA channel 6: Master: ad12 Serial ATA II Slave: ad13 Serial ATA II ATA channel 7: Master: ad14 Serial ATA II Slave: no device present
ad6が見事にいませんな。
RAID復旧 (失敗)
サーバーのふたを開けて確認するとどうやらad6のSATAケーブルが抜けかかっているようだ。
ドライブの交換無しで復旧させる事にする。
まず、gmirror forgetを使ってmrr1からad6の事を忘れさせる。
# gmirror forget mrr1 # gmirror status Name Status Components mirror/mrr1 COMPLETE ad8 mirror/mrr2 COMPLETE ad10 ad13 mirror/mrr0 COMPLETE ad12 ad14
うまく行けば上記のようにステータスがDEGRADEDからCOMPLETEに変化する。
ここで、今回はケーブル再接続の為にshutdownさせる事にした。*1
が、……再起動失敗、シングルユーザーモードに落ちやがった。orz
ながいたびが はじまる・・
現在fsck中……
ああ、いらん事をするもんじゃねぇな、shutdownなんてさせるんじゃなかった。
とりあえずデータは月曜日までのバックアップが有るからまあ大丈夫だが、復旧がめんどくさいんだよな。壊れているのがシステムだけなら良いんだが。