NVMe SMART test (long) fails with error: Read Self-test Log failed: Invalid Field in Command (0x002)

As the title says, whenever I have tried running a MANUAL smart test on a a NVMe drive I have installed it results in errors: Read Self-test Log failed: Invalid Field in Command (0x002). As a result the Multi-Report output shows a critical error with the “Last Test Type (Time conducted)” section being in red.

My research shows that running the shell command smartctl -l selftest /dev/nvme0n1 works.

Why would the GUI initiated SMART test fail for this NVME (model number CT500P1SSD8)? @joeschmuck

Truenas version is TrueNAS 24.10-RC.2

Waiting the for sure better and detailed answer from Joe, 2 things:

Afaik Is still not possible run smart from GUI, but Is planned

Afaik there too, nvme0n1 Is wrong

1 Like

Chiming in…

The error you are experiencing is a problem in smartmontools. It is fixed in version 7.5, well smartd needs to be fixed as well and that hopefully will be done in a few days.

With all that said, you will not see it in TrueNAS for a while. Smartmontools v7.5 first needs to be released, then incorporated into Debian, unless iX brings it in on their own (they may).

I have a build of the tools that works however I would prefer to wait for smartd to be completed before I offer it to anyone who wants it early. It’s best to have a complete set of tools.

To run the test manually, use the command smartctl -t short /dev/nvme0 and remove the namespace ‘n1’.
To check the status, use smartctl -l selftest /dev/nvme0

Hope this helps.

Thank you gentleman.