VinePlus/3.0のパケジを作成してテスト中。ついでにrootにメールを送るように設定してみたらいきなり警告メールが来た。がびーん。
早速
# smartctl -a /dev/hda
してみる。以下、結果を抜粋。
Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0007 097 094 021 Pre-fail Always - 5900 4 Start_Stop_Count 0x0032 099 099 040 Old_age Always - 1722 5 Reallocated_Sector_Ct 0x0033 198 198 140 Pre-fail Always - 27 7 Seek_Error_Rate 0x000b 100 253 051 Pre-fail Always - 0 9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 1804 10 Spin_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0 11 Calibration_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1722 196 Reallocated_Event_Count 0x0032 183 183 000 Old_age Always - 17 197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 1 198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always - 1 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0009 200 200 051 Pre-fail Offline - 0
5,196,197,198あたりが不穏な数値になっている。増えるようならディスク不良が疑われるらしい。テストしてみた。
# smartctl --test=short /dev/hda smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Short self-test routine immediately in off-line mode". Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 2 minutes for test to complete. Test will complete after Wed May 31 01:21:17 2006 Use smartctl -X to abort test.
で、実行結果。
# smartctl -l selftest /dev/hda smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 712 - # 2 Short offline Completed without error 00% 0 -
一応テストは問題ないみたいだが、継続監視決定。long testもやってみよう。ていうかsmartmontoolsはやっぱり便利だ。
VineSeedPlusのパケジも作らないとな。
参考:
修復方法発見
long testの結果を使って不良セクタを修復する方法がsmartmontoolsのWebページにあったのでリンクしておく。どうやら、焦ってディスク交換、というまでのことではないらしい。あとでやってみよう。
BadBlockHowTo