DISPLAYING SMART DATA FOR NVME DEVICES IN ESXI
search cancel

DISPLAYING SMART DATA FOR NVME DEVICES IN ESXI

book

Article ID: 314303

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

When looking for SMART data from NVMe devices, the following command should be used to get standard NVMe SMART log page as defined in the NVMe specs:
  • esxcli nvme device log smart get
This command will return data similar to the following and should be consistent with the same NVMe SMART data as returned in Linux or Windows:
Example only, your specific details returned may vary:
[root@localhost:~] esxcli nvme device log smart get -A vmhba8
SMART And Health Info:
Available Spare Space Below Threshold: false
Temperature Warning: false
NVM Subsystem Reliability Degradation: false
Read Only Mode: false
Volatile Memory Backup Device Failure: false
Composite Temperature: 298 K
Available Spare: 100 %
Available Spare Threshold: 10 %
Percentage Used: 0 %
Data Units Read: 0xc555f7
Data Units Written: 0xa4d550
Host Read Commands: 0x5786f0c2
Host Write Commands: 0x44364ee3
Controller Busy Time: 0x50e
Power Cycles: 0x39
Power On Hours: 0x63a
Unsafe Shutdowns: 0x14
Media Errors: 0x0
Number of Error Info Log Entries: 0x44
Warning Composite Temperature Time: 0 Mins
Critical Composite Temperature Time: 0 Mins
Temperature Sensor 1: 0 K
Temperature Sensor 2: 0 K
Temperature Sensor 3: 0 K
Temperature Sensor 4: 0 K
Temperature Sensor 5: 0 K
Temperature Sensor 6: 0 K
Temperature Sensor 7: 0 K
Temperature Sensor 8: 0 K

This varies from the standard SAS or SATA SMART data gathered using the below command which you may be more familiar with seeing:
  • esxcli storage core device smart get
The storage core device command will return output similar to the following, which can have varying fields depending on what is returned by the drive itself:
Example (your details will vary):
[root@localhost:~] esxcli storage core device smart get -d t10.NVMe____Dell_Express_Flash_CD5_3.84T_SFF________01DE2A02E28EE38C
Parameter                 Value  Threshold  Worst  Raw
------------------------  -----  ---------  -----  ---
Health Status             OK     N/A        N/A    N/A
Power-on Hours            171    N/A        N/A    N/A
Power Cycle Count         7      N/A        N/A    N/A
Reallocated Sector Count  0      90         N/A    N/A
Drive Temperature         25     71         N/A    N/A

Write Sectors TOT Count   0      N/A        N/A    N/A
Read Sectors TOT Count    31000  N/A        N/A    N/A
 


Resolution

Use "esxcli nvme device log smart get" to display NVMe SMART data