Updating your smartmontools

A while back, I posted on how you could monitor your Intel SSD under Mac OS X using smartmontools.

With the addition of a new iMac to my home office, I again updated to the latest smartmontools (6.0 at the time of this post), but it didn’t have all the information about the Apple 128GB SSD that is part of the Fusion Drive on this new system.

This led me to the little known (for me) command necessary to update the internal database: update-smart-drivedb

 

Before:

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
 1 Raw_Read_Error_Rate 0x001a 200 200 000 Old_age Always - 0
 5 Reallocated_Sector_Ct 0x0033 100 100 000 Pre-fail Always - 0
 9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 17
 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 167
169 Unknown_Attribute 0x0013 253 253 010 Pre-fail Always - 756128156800
173 Unknown_Attribute 0x0032 199 199 100 Old_age Always - 4298571784
192 Power-Off_Retract_Count 0x0012 099 099 000 Old_age Always - 157
194 Temperature_Celsius 0x0022 057 031 000 Old_age Always - 43 (Min/Max 21/69)
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age Always - 0

Running the update:

bills-imac:~ bill$ sudo /opt/local/sbin/update-smart-drivedb 
Password:
/opt/local/share/smartmontools/drivedb.h updated from trunk

After:

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
 1 Raw_Read_Error_Rate 0x001a 200 200 000 Old_age Always - 0
 5 Reallocated_Sector_Ct 0x0033 100 100 000 Pre-fail Always - 0
 9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 18
 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 167
169 Unknown_Attribute 0x0013 253 253 010 Pre-fail Always - 756128156800
173 Unknown_Attribute 0x0032 199 199 100 Old_age Always - 4298571784
192 Power-Off_Retract_Count 0x0012 099 099 000 Old_age Always - 157
194 Temperature_Celsius 0x0022 062 031 000 Old_age Always - 38 (Min/Max 21/69)
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age Always - 0

As you can see, even after the update, this SSD is not in the database.

bills-imac:~ bill$ smartctl -P showall | grep -i apple
MODEL REGEXP: APPLE SSD SM128
MODEL FAMILY: Apple SSD SM128
MODEL REGEXP: ADATA S596 Turbo|APPLE SSD TS.*|KINGSTON SNV425S2(64|128)GB|KINGSTON SSDNOW 30GB|KINGSTON SS100S2(8|16)G|KINGSTON SVP?100S2B?(64|96|128|256|512)G|TOSHIBA THNS128GG4BBAA|TOSHIBA THNSNC128GMLJ|TS(8|16|32|64|128|192|256|512)GSSD25S-(MD?|S)
bills-imac:~ bill$ smartctl -a disk0 | grep -i apple
smartctl 6.0 2012-10-10 r3643 [x86_64-apple-darwin12.2.0] (local build)
Device Model: APPLE SSD SM128E

Oh well!

 

 

Leave a Reply