You are not logged in.

#1 2022-12-28 20:31:21

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

nvme smart-log registering 0's but not smartctl

I have a Samsumg 970 EVO Plus I use for my system. I recently checked the drive with nvme smart-log but I'm not getting output (this has functioned properly before)
# nvme smart-log /dev/nvme2:

Smart Log for NVME device:nvme2 namespace-id:ffffffff
critical_warning                        : 0
temperature                             : -273°C (0 Kelvin)
available_spare                         : 0%
available_spare_threshold               : 0%
percentage_used                         : 0%
endurance group critical warning summary: 0
data_units_read                         : 0
data_units_written                      : 0
host_read_commands                      : 0
host_write_commands                     : 0
controller_busy_time                    : 0
power_cycles                            : 0
power_on_hours                          : 0
unsafe_shutdowns                        : 0
media_errors                            : 0
num_err_log_entries                     : 0
Warning Temperature Time                : 0
Critical Composite Temperature Time     : 0
Thermal Management T1 Trans Count       : 0
Thermal Management T2 Trans Count       : 0
Thermal Management T1 Total Time        : 0
Thermal Management T2 Total Time        : 0

I run the same with smartctl and I'm getting proper output.
# smartctl -x /dev/nvme2:

smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.1-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung SSD 970 EVO Plus 500GB
Serial Number:                      S58SNM0R808404E
Firmware Version:                   2B2QEXM7
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 500,107,862,016 [500 GB]
Unallocated NVM Capacity:           0
Controller ID:                      4
NVMe Version:                       1.3
Number of Namespaces:               1
Namespace 1 Size/Capacity:          500,107,862,016 [500 GB]
Namespace 1 Utilization:            285,189,914,624 [285 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            002538 5811909ed1
Local Time is:                      Wed Dec 28 20:15:15 2022 GMT
Firmware Updates (0x16):            3 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 (0x03):         S/H_per_NS Cmd_Eff_Lg
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     85 Celsius
Critical Comp. Temp. Threshold:     85 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     7.80W       -        -    0  0  0  0        0       0
 1 +     6.00W       -        -    1  1  1  1        0       0
 2 +     3.40W       -        -    2  2  2  2        0       0
 3 -   0.0700W       -        -    3  3  3  3      210    1200
 4 -   0.0100W       -        -    4  4  4  4     2000    8000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

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

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        50 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    3%
Data Units Read:                    33,207,164 [17.0 TB]
Data Units Written:                 68,054,874 [34.8 TB]
Host Read Commands:                 184,979,925
Host Write Commands:                671,909,266
Controller Busy Time:               1,915
Power Cycles:                       839
Power On Hours:                     648
Unsafe Shutdowns:                   104
Media and Data Integrity Errors:    0
Error Information Log Entries:      1,114
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               50 Celsius
Temperature Sensor 2:               56 Celsius

Error Information (NVMe Log 0x01, 16 of 64 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0       1114     0  0x0003  0x4004      -            0     0     -

Any idea why the smart-log is not producing output yet smartctl does in which according to it that the drive is fine?

Also I measured the performance of the drive with hdparm -Tt --direct and compared it with my other drive a regular Samsung 970 EVO and surprisingly the regular EVO performs better than the EVO Plus. For reading the Plus registers 1283.41 MB/sec but the regular EVO clocks much higher at 1836.59 MB/sec. This makes me feel there's something wrong with the EVO Pro.

Am I in need of a firmware update? I tried to find a firmware update for the Samsung drive. There's no link in the wiki and Samsung's magician in the AUR repo is outdated. Please share if you have a way of updating EVO firmware.

Last edited by d_fajardo (2022-12-28 20:34:16)

Offline

Board footer

Powered by FluxBB