Retrieve Standard Logs With NVMe*-CLI
Commands To View And Export NVMe SSD Text Logs
Summary
NVMe SSDs have a variety of logs. Which ones to get and how to pull them vary.
- Here is how to pull binary logs with NVMe-CLI.
Resolution
These commands require the NVMe-CLI and are only supported by NVMe SSDs.
NOTE |
- Be sure to reference the correct device.
- Text examples default to /dev/nvme0
- Add " > logName.txt" to export text output to a file.
|
NVMe Error Log
- Open the CLI as admin.[LINK]
- Run the command:
nvme error-log /dev/nvme0
|
 |
Firmware Log
- Open the CLI as admin.[LINK]
- Run the command:
|
 |
SMART Log
Additional SMART Log
Replace solidigm with intel , if using nvme-cli v2.0 or older.
- Open the CLI as admin.[LINK]
- Run the command:
nvme solidigm smart-log-add /dev/nvme0
Pull SMART with Solidigm Tools
|
 |
OCP SMART Log
- Open the CLI as admin.[LINK]
- Run the command:
nvme ocp smart-add-log /dev/nvme0
|
 |
OCP Error Recovery Log
- Open the CLI as admin.[LINK]
- Run the command:
nvme ocp error-recovery-log /dev/nvme0
|
 |
Vendor Specific Logs
- Open the CLI as admin.[LINK]
- Run the commands:
nvme get-log /dev/nvme0 -i 197 -l 512
nvme get-log /dev/nvme0 -i 202 -l 512
|
 |
Identify Controller
If nvme-cli v2.1 or newer:
- Open the CLI as admin.[LINK]
- Run the command:
nvme solidigm id-ctrl /dev/nvme0
|
 |
If nvme-cli v2.0 or older:
- Open the CLI as admin.[LINK]
- Run the command:
nvme intel id-ctrl /dev/nvme0
|
This non-plugin pulls most of the controller info. The two above have additional lines at the end.
- Open the CLI as admin.[LINK]
- Run the command:
|
Identify Namespace
- Open the CLI as admin.[LINK]
- Run the command:
|
 |
Questions? Check out our Community Forum for help.
Issues? Contact Solidigm™ Customer Support:
[Chinese] [English] [German] [Japanese] [Korean]