Project

General

Profile

Bug #12491

extend libdiskstatus to support NVMe devices

Added by Rob Johnston 7 months ago. Updated 7 months ago.

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.

#1

Updated by Rob Johnston 7 months ago

  • Description updated (diff)

Also available in: Atom PDF