BlockDev.NVMESelfTestLogEntry

Fields

Name

Type

Access

Description

action

BlockDev.NVMESelfTestAction

r/w

The Self-test Code value (action) that was specified in the Device Self-test command that started this device self-test operation.

failing_lba

int

r/w

LBA of the logical block that caused the test to fail. If the device encountered more than one failed logical block during the test, then this field only indicates one of those failed logical blocks.

nsid

int

r/w

Namespace ID that the Failing LBA occurred on.

power_on_hours

int

r/w

Number of power-on hours at the time the device self-test operation was completed or aborted. Does not include time that the controller was powered and in a low power state condition.

result

BlockDev.NVMESelfTestResult

r/w

Result of the device self-test operation.

segment

int

r/w

Segment number where the first self-test failure occurred. Valid only when result is set to BlockDev.NVMESelfTestResult.KNOWN_SEG_FAIL.

status_code_error

GLib.Error

r/w

Translated NVMe Command Status Code representing additional information related to errors or conditions.

Methods

None

Details

class BlockDev.NVMESelfTestLogEntry