Actions
Bug #12491
openextend libdiskstatus to support NVMe devices
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
The libdiskstatus library reads the SMART data from a disk drive and produces a data structure describing if any of the following SMART error conditions exist:
- power-on self test failures
- over temperature
- predicted failure asserted
This library is consumed by the disk-transport fmd plugin, which in turn will generate ereports that get diagnosed to disk faults. In order to detect SMART errors on NVMe devices we need to extend libdiskstatus to support reading and interpreting the appropriate log pages from NVMe devices.
From skimming the NVMe specification, the relevant SMART data is available on log page 0x02, the contents of which are described in section 5.10.1.2 of the spec.
Actions