Opened 5 years ago
Last modified 18 months ago
#1300 new enhancement
Man page provides no clue how to interpret NVMe error log
Reported by: | xypron | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | unscheduled |
Component: | smartctl | Version: | |
Keywords: | nvme | Cc: | xypron |
Description
sudo smartctl -a /dev/nvme0
reports a lot of errors
=== START OF INFORMATION SECTION === Model Number: Samsung SSD 960 PRO 512GB ... Error Information (NVMe Log 0x01, max 64 entries) Num ErrCount SQId CmdId Status PELoc LBA NSID VS 0 1181 0 0x0015 0x421a 0x028 0 0 - 1 1180 0 0x0013 0x4212 0x028 0 0 - 2 1179 0 0x0015 0x421a 0x028 0 0 - 3 1178 0 0x0013 0x4212 0x028 0 0 -
But unfortunately neither the smartctl output nor the man pag provides any clue how to interpret this output.
I think the documentation should provide both a description of each of the error log columns as well as links to the documents describing the values seen here.
Change History (5)
comment:1 by , 5 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Here are some commands that provoke one of the errors I observed:
sudo nvme sanitize-log /dev/nvme0 NVMe status: INVALID_LOG_PAGE: The log page indicated is invalid. This error condition is also returned if a reserved log page is requested(0x2109) sudo nvme self-test-log /dev/nvme0 NVMe status: INVALID_LOG_PAGE: The log page indicated is invalid. This error condition is also returned if a reserved log page is requested(0x2109) sudo nvme endurance-log /dev/nvme0 NVMe status: INVALID_LOG_PAGE: The log page indicated is invalid. This error condition is also returned if a reserved log page is requested(0x2109) sudo nvme ana-log /dev/nvme0 NVMe status: INVALID_LOG_PAGE: The log page indicated is invalid. This error condition is also returned if a reserved log page is requested(0x2109) sudo nvme changed-ns-list-log /dev/nvme0 NVMe status: INVALID_LOG_PAGE: The log page indicated is invalid. This error condition is also returned if a reserved log page is requested(0x2109) sudo nvme telemetry-log /dev/nvme0 -o foo NVMe status: INVALID_LOG_PAGE: The log page indicated is invalid. This error condition is also returned if a reserved log page is requested(0x2109)
comment:4 by , 5 years ago
Component: | all → smartctl |
---|---|
Keywords: | nvme added |
Milestone: | → unscheduled |
Summary: | Man page provides no clue how to interpret error log → Man page provides no clue how to interpret NVMe error log |
comment:5 by , 18 months ago
Related: r5471.
smartctl -l error ...
now prints an error message:
Error Information (NVMe Log 0x01, 16 of 64 entries) Num ErrCount SQId CmdId Status PELoc LBA NSID VS Message 0 1206 0 0x0075 0x4212 0x028 0 1 - Invalid Log Page 1 1205 0 0x003f 0xc004 - 0 0 - Invalid Field in Command 2 1204 0 0x001d 0x4212 0x028 0 - - Invalid Log Page 3 1203 0 0x0002 0x4004 0x028 0 0 - Invalid Field in Command
Note:
See TracTickets
for help on using tickets.
provides a bit more information
The nvme-cli tool is available here: https://github.com/linux-nvme/nvme-cli.
As both smartmontools and nvme-cli are under GPLv2 it should be easy to just copy the status field texts to smartmontools.