http://smartmontools.sourceforge.net/
HDDの自己診断機能であるSMART*1を使ってHDDを制御,監視できるプログラム.この情報を監視することでHDDの故障を未然に察知できるかもしれない.
参考
- ハードディスクのS.M.A.R.T.情報を表示するには
- smartmontoolsでHDDチェック
- ハードディスクの状態を監視する
使ってみた
手元のLinuxマシンに,ソースをコンパイルして入れてみた.実行した結果は以下の通り.
SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 070 065 034 Pre-fail Always - 174316649 3 Spin_Up_Time 0x0003 083 072 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 099 099 020 Old_age Always - 1359 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 11 7 Seek_Error_Rate 0x000f 079 060 030 Pre-fail Always - 89304003 9 Power_On_Hours 0x0032 093 093 000 Old_age Always - 6217 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1358 194 Temperature_Celsius 0x0022 046 061 000 Old_age Always - 46 195 Hardware_ECC_Recovered 0x001a 070 063 000 Old_age Always - 174316649 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 2 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 2 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0 202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
Reallocated_Sector_Ctが11,Current_Pending_Sectorが2,Offline_Uncorrectableが2.古いしなぁ.やだなぁ.Raw_Read_Error_RateやSeek_Error_Rateも低いなぁ.
壊れてもいいHDDだからいいけど*2.