Opened 11 years ago

Closed 11 years ago

#287 closed defect (invalid)

selective test percentage

Reported by: alzheimer Owned by: somebody
Priority: major Milestone:
Component: all Version: 6.1
Keywords: Cc:

Description

SMART Selective self-test log data structure revision number 1

SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS

1 314572801 629145601 Self_test_in_progress [10% left] (373644952-373710487)

Says 10% left when it's not even close (314572801-629145601 but it's still at 373710487). Is this some bug in smartd or just the HDD (Western Digital Green 2TB / 3TB, they all show the same behavior) reporting it wrong? Couldn't smartd calculate the correct percentage given it seems to know the current position?

I'm trying to use select tests in smartd.conf as a full extended test just takes too long in one go. I wish I could specify the size directly there so I don't have to worry about it getting confused as to which size/address to use (which seems to happen a lot and doesn't raise an error - I'm already using savestates). Like when I do select tests outside of smartd for other reasons (when there was an I/O error at a specific address). It shouldn't use that as a reference for its own tests...

Change History (2)

comment:1 by Christian Franke, 11 years ago

Smartctl and smartd print the percentage from lower 4 bits of self-test execution status byte. It is part of the SMART data block provided by the drive.

It is not uncommon that this info stays at one value (typically 10% or 90%) until a selective test is finished.

comment:2 by Christian Franke, 11 years ago

Resolution: invalid
Status: newclosed

The bogus remaining self-test percentage is reported by the drive firmware, not by smartctl.

Note: See TracTickets for help on using tickets.