Opened 2 weeks ago

Last modified 2 weeks ago

#1397 accepted defect

Don't report ATA attribute failure if value is equal to threshold

Reported by: Christian Franke Owned by: Christian Franke
Priority: minor Milestone: Release 7.2
Component: all Version:
Keywords: ata Cc:

Description

ATA Attributes are reported as FAIL: NOW if VALUE <= THRESH since the early days of smartmontools (2002). The same applies to FAIL: PAST if WORST <= THRESH.

This is possibly because the original SMART specs did not specify whether <= or < should be used. The official ATA specs never defined SMART attributes and declared SMART READ DATA as obsolete in ACS-4 (2017).

Some recent drives return 255 for all three values which results in a bogus FAIL: NOW status (see ticket #1396):

Device Model:     Seagate IronWolfPro ZA3840NX10001-2ZH104
...
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
...
246 Unknown_Attribute       PO----   255   255   255    NOW  0
...
                            |______ P prefailure warning

Comparison should be changed to VALUE < THRESH to better handle such corner cases.

Change History (1)

comment:1 Changed 2 weeks ago by Christian Franke

Owner: set to Christian Franke
Status: newaccepted
Note: See TracTickets for help on using tickets.