From: Norikatsu S. <nork@FreeBSD.org> - 2003-12-27 20:28:26
|
Hi smartmontools maintainer! I have a HDD which is named Hitachi Travelstar DK23EA on FreeBSD 5-current. But smartmontools-5.26 didn't report it. I investigated this behavior. Please merge following patch. SEE ALSO: http://www.hgst.com/hdd/dk23xx/dk23ea.html http://www.hgst.com/hdd/dk23xx/dk23ba.html http://www.hgst.com/hdd/support/dk/table.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- knowndrives.c.orig Sat Nov 29 08:37:39 2003 +++ knowndrives.c Sun Dec 28 05:07:31 2003 @@ -308,15 +308,15 @@ vendoropts_9_minutes, NULL, NULL }, - { // HITACHI_DK23BA-20 - "^HITACHI_DK23BA-20$", + { // HITACHI Travelstar DK23BA + "^HITACHI_DK23BA-", ".*", NULL, vendoropts_9_minutes, NULL, NULL }, - { // HITACHI_DK23EA-30 - "^HITACHI_DK23EA-30$", + { // HITACHI Travelstar DK23EA + "^HITACHI_DK23EA-", ".*", NULL, vendoropts_Hitachi_DK23EA, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # smartctl -a /dev/ad0 smartctl version 5.26 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: HITACHI_DK23EA-60 Serial Number: 5P3111 Firmware Version: 00K2A0A1 Device is: In smartctl database [for details use: -P show] ATA Version is: 5 ATA Standard is: ATA/ATAPI-5 T13 1321D revision 3 Local Time is: Sun Dec 28 05:16:45 2003 JST SMART support is: Available - device has SMART capability. SMART support is: Enabled The SMART RETURN STATUS return value (smartmontools -H option/Directive) can not be retrieved with this version of ATAng, please do not rely on this value === 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: (2680) 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: (0x0003) Saves 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: ( 45) 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 0x000d 100 100 050 Pre-fail Offline - 0 2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0 3 Spin_Up_Time 0x0007 100 100 050 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 462 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 100 100 050 Pre-fail Always - 855 8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0 9 Power_On_Minutes 0x0032 096 096 000 Old_age Always - 2211h+26m 10 Spin_Retry_Count 0x0013 100 100 050 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 462 191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 21 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 23 193 Load_Cycle_Count 0x0032 071 071 000 Old_age Always - 177294/177270 194 Temperature_Celsius 0x0022 078 056 000 Old_age Always - 51 (Lifetime Min/Max 62/16) 195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 4 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0012 100 100 000 Old_age Always - 0 201 Soft_Read_Error_Rate 0x0012 100 100 000 Old_age Always - 0 223 Load_Retry_Count 0x0012 100 100 000 Old_age Always - 0 230 Head_Amplitude 0x0032 099 099 000 Old_age Always - 55085 250 Read_Error_Retry_Rate 0x000a 100 100 000 Old_age Always - 311 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [Use the smartctl -t option to run these.] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |