Обновляем базу дисков smartmontools

При использовании Super Talent UltraDrive ME SSD FTM28GX25H возникли жуткие, на первый взгляд, проблемы:

Jul  6 10:09:20 srv3 smartd[1189]: Device: /dev/ada0, 40699 Offline uncorrectable sectors (changed +111)
Jul  6 10:39:21 srv3 smartd[1189]: Device: /dev/ada0, 40801 Offline uncorrectable sectors (changed +102)
Jul  6 11:09:21 srv3 smartd[1189]: Device: /dev/ada0, 40893 Offline uncorrectable sectors (changed +92)
Jul  6 11:39:20 srv3 smartd[1189]: Device: /dev/ada0, 40999 Offline uncorrectable sectors (changed +106)
Jul  6 12:09:20 srv3 smartd[1189]: Device: /dev/ada0, 41095 Offline uncorrectable sectors (changed +96)
Jul  6 12:39:20 srv3 smartd[1189]: Device: /dev/ada0, 41184 Offline uncorrectable sectors (changed +89) 

При этом диск отсутствовал в базе дисков smartmontools:

=== START OF INFORMATION SECTION ===
Device Model:     STT_FTM28GX25H
Serial Number:    P604790-AFBX-C289057
Firmware Version: 1916
User Capacity:    128,035,676,160 bytes
Device is:        Not in smartctl database [for details use: -P showall]

Проблема решилась как всегда просто и элегантно:

fetch -o /usr/local/share/smartmontools/drivedb.h "http://sourceforge.net/apps/trac/smartmontools/browser/branches/RELEASE_5_39_DRIVEDB/smartmontools/drivedb.h?format=txt"

Результат не заставил себя ждать:

=== START OF INFORMATION SECTION ===
Model Family:     SuperTalent UltraDrive GX SSD
Device Model:     STT_FTM28GX25H
Serial Number:    P604790-AFBX-C289057
Firmware Version: 1916
User Capacity:    128,035,676,160 bytes
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0000   ---   ---   ---    Old_age   Offline      -       6
  9 Power_On_Hours          0x0000   ---   ---   ---    Old_age   Offline      -       896
 12 Power_Cycle_Count       0x0000   ---   ---   ---    Old_age   Offline      -       1
184 Initial_Bad_Block_Count 0x0000   ---   ---   ---    Old_age   Offline      -       26
195 Program_Failure_Blk_Ct  0x0000   ---   ---   ---    Old_age   Offline      -       0
196 Erase_Failure_Blk_Ct    0x0000   ---   ---   ---    Old_age   Offline      -       0
197 Read_Failure_Blk_Ct     0x0000   ---   ---   ---    Old_age   Offline      -       0
198 Read_Sectors_Tot_Ct     0x0000   ---   ---   ---    Old_age   Offline      -       2799845469
199 Write_Sectors_Tot_Ct    0x0000   ---   ---   ---    Old_age   Offline      -       967040916
200 Read_Commands_Tot_Ct    0x0000   ---   ---   ---    Old_age   Offline      -       21971239
201 Write_Commands_Tot_Ct   0x0000   ---   ---   ---    Old_age   Offline      -       12340096
202 Error_Bits_Flash_Tot_Ct 0x0000   ---   ---   ---    Old_age   Offline      -       2538957
203 Corr_Read_Errors_Tot_Ct 0x0000   ---   ---   ---    Old_age   Offline      -       2200648
204 Bad_Block_Full_Flag     0x0000   ---   ---   ---    Old_age   Offline      -       0
205 Max_PE_Count_Spec       0x0000   ---   ---   ---    Old_age   Offline      -       10000
206 Min_Erase_Count         0x0000   ---   ---   ---    Old_age   Offline      -       4
207 Max_Erase_Count         0x0000   ---   ---   ---    Old_age   Offline      -       359
208 Average_Erase_Count     0x0000   ---   ---   ---    Old_age   Offline      -       102
209 Remaining_Lifetime_Perc 0x0000   ---   ---   ---    Old_age   Offline      -       99
211 Unknown_Attribute       0x0000   ---   ---   ---    Old_age   Offline      -       0
212 Unknown_Attribute       0x0000   ---   ---   ---    Old_age   Offline      -       0
213 Unknown_Attribute       0x0000   ---   ---   ---    Old_age   Offline      -       0

Жуткие счетчики Offline uncorrectable sectors на деле оказались обычными счетчиками операций чтения/записи.