HDD情報の取得 S.M.A.R.T
S.M.A.R.Tとは
http://ja.wikipedia.org/wiki/Self-Monitoring,_Anal...LinuxでS.M.A.R.T情報を取得する
smartmontoolsを使用するhttp://smartmontools.sourceforge.net/
install
wget http://nchc.dl.sourceforge.net/sourceforge/smartmo...cd smartmontools-5.37
./configure
make
make test
make install
情報表示
人から貰った物だけど意外と健康?# smartctl -a /dev/hda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Fujitsu MPA..MPG series Device Model: FUJITSU MPE3064AT Serial Number: 05044981 Firmware Version: ED-03-06 User Capacity: 6,488,294,400 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 4 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Sat Apr 7 17:54:56 2007 JST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 180) seconds. Offline data collection capabilities: (0x1b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities: (0x0002) Does not save SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. No General Purpose Logging support. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 8) minutes. SMART Attributes Data Structure revision number: 16 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 100 100 032 Pre-fail Always - 131962 2 Throughput_Performance 0x0005 100 100 020 Pre-fail Offline - 0 3 Spin_Up_Time 0x0007 096 090 025 Pre-fail Always - 1 4 Start_Stop_Count 0x0012 094 094 016 Old_age Always - 3640 5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 020 Pre-fail Always - 1953 8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0 9 Power_On_Seconds 0x0012 041 041 020 Old_age Always - 8929h+55m+28s 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 076 076 020 Old_age Always - 3624 196 Reallocated_Event_Count 0x0033 100 100 024 Pre-fail Always - 0 197 Current_Pending_Sector 0x0010 100 100 020 Old_age Offline - 0 198 Offline_Uncorrectable 0x0010 100 100 020 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000b 100 100 020 Pre-fail Always - 1450 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Device does not support Selective Self Tests/Logging
2007年04月07日(土) 19:56:28 Modified by glass57