Seagate IronWolf ST4000VN006 S.M.A.R.T.
Ubuntu 22.04.2 LTS
smartmontools 7.2
Неверно отображаются некоторые атрибуты S.M.A.R.T.
$ smartctl -a /dev/sda
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 081 067 006 Pre-fail Always - 118150681 <----- Неверно 3 Spin_Up_Time 0x0003 097 096 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 16 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 061 060 045 Pre-fail Always - 1161913 <----- Неверно 9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1431 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 6 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 65537 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 061 058 040 Old_age Always - 39 (Min/Max 31/42) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 2 193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 2752 194 Temperature_Celsius 0x0022 039 042 000 Old_age Always - 39 (0 27 0 0 0) 195 Hardware_ECC_Recovered 0x001a 081 067 000 Old_age Always - 118150681 197 Current_Pending_Sector 0x0012 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 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 501 (215 47 0) 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 2146717650 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 1155207
Seagate has used an odd encoded value for this for years. You're attempting to read a raw value, which is meant for Seagate's internal tools. This is all documented. smartctl knows how to parse it, it just never does by default (a long-standing bug that isn't high priority enough to fix). Do `smartctl -a -v 1,raw48:54 /dev/xxx`, or `-v 7,raw48:54` for raw seek.
-v ID,FORMAT[:BYTEORDER][,NAME], --vendorattribute=ID,FORMAT... [ATA only] Sets a vendor-specific raw value print FORMAT, an optional BYTEORDER and an optional NAME for Attribute ID. This option may be used multiple times.
Т.е. нужно сообщить утилите smartctl, как правильно прочитать данные.
$ smartctl -v 1,raw48:54 -v 7,raw48:54 -a /dev/sda
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 081 067 006 Pre-fail Always - 0 ... 7 Seek_Error_Rate 0x000f 061 060 045 Pre-fail Always - 0 ...
Обсуждение