[smartmontools-support] NVME issues

Thane K. Sherrington thane at computerconnectionltd.com
Mon Jul 8 22:12:04 CEST 2024


I have a WDC PC SN530 SDBPNPZ-1T00-1006 drive, and smartctl is having 
odd issues with it.  It's on an Ryzen based laptop, so it's using an AMD 
chipset in Windows 10 (I know the Intel SSD drivers don't work with 
smartctl and NVME, so I test those with Ubuntu).

Here's the issue.  The first time I ran the long test from a batch file, 
and the test didn't run at all.  I then ran it manually from the command 
line:
smartctl -t long /dev/sda
and as you can see below, the test completed.  I tried again with the 
batch file (which I confirmed was using the identical command line, and 
it failed with the output:
smartctl 7.4 2023-08-01 r5530 [x86_64-w64-mingw32-w10-2004] (sf-7.4-1)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

NVMe Self-test cmd with type=0x2, nsid=0xffffffff failed: 
IOCTL_STORAGE_PROTOCOL_COMMAND(NVMe) failed, Error=31


I tried it again manually entering the command, and now it gives the 
same error.

I'm assuming the NVME driver is to blame, but I wanted to check.

I would try a newer build of smartctl, but when I try to download either 
the the two latest builds (r5613 or r5612) it tells me "not found" for 
the Windows version.

Thanks for any advice.

The specs on the drive are below.

smartctl 7.4 2023-08-01 r5530 [x86_64-w64-mingw32-w10-2004] (sf-7.4-1)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       WDC PC SN530 SDBPNPZ-1T00-1006
Serial Number:                      22301B801613
Firmware Version:                   HPS2
PCI Vendor/Subsystem ID:            0x15b7
IEEE OUI Identifier:                0x001b44
Total NVM Capacity:                 1,024,209,543,168 [1.02 TB]
Unallocated NVM Capacity:           0
Controller ID:                      1
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          1,024,209,543,168 [1.02 TB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            001b44 8b4bd52cf5
Local Time is:                      Mon Jul 08 17:07:10 2024 AST
Firmware Updates (0x14):            2 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero 
Sav/Sel_Feat Timestmp
Log Page Attributes (0x1e):         Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg 
Pers_Ev_Lg
Maximum Data Transfer Size:         128 Pages
Warning  Comp. Temp. Threshold:     80 Celsius
Critical Comp. Temp. Threshold:     85 Celsius
Namespace 1 Features (0x02):        NA_Fields

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
  0 +     3.50W    2.90W       -    0  0  0  0        0       0
  1 +     2.70W    1.80W       -    0  0  0  0        0       0
  2 +     1.90W    1.50W       -    0  0  0  0        0       0
  3 -   0.0250W       -        -    3  3  3  3     3900   11000
  4 -   0.0050W       -        -    4  4  4  4     5000   39000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
  0 +     512       0         2
  1 -    4096       0         1

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        29 Celsius
Available Spare:                    100%
Available Spare Threshold:          5%
Percentage Used:                    0%
Data Units Read:                    12,076,204 [6.18 TB]
Data Units Written:                 9,649,507 [4.94 TB]
Host Read Commands:                 146,865,678
Host Write Commands:                171,121,457
Controller Busy Time:               357
Power Cycles:                       882
Power On Hours:                     297
Unsafe Shutdowns:                   27
Media and Data Integrity Errors:    0
Error Information Log Entries:      1
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, 16 of 256 entries)
No Errors Logged

Self-test Log (NVMe Log 0x06)
Self-test status: No self-test in progress
Num  Test_Description  Status                       Power_on_Hours 
Failing_LBA  NSID Seg SCT Code
  0   Extended          Completed without error 297            -     -   
-   -    -


-- 
Thane K. Sherrington

Computer Connection, Ltd. ...taking the mystery out of computers since 1982.
Winner of the 2012 Ian Spencer - Excellence in Business Award
*Thanks for making us the Reader's Choice Best Computer Store in 2016, 
2017, 2018 and 2019!*
95 College St., Antigonish,
NS B2G 1X6
902-863-3361 (phone)
902-863-2580 (fax)
thane at computerconnectionltd.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20240708/1a5c8001/attachment.htm>


More information about the Smartmontools-support mailing list