====== NVME - nvme-cli ======
==== Install ====
Install cnme-cli package:
apt-get install nvme-cli
==== Usage ====
# nvme error-log /dev/nvme0n1
# nvme list
Node Generic SN Model Namespace Usage Format FW Rev
--------------------- --------------------- -------------------- ---------------------------------------- ---------- -------------------------- ---------------- --------
/dev/nvme0n1 /dev/ng0n1 2005262D6D10 Micron 2200S NVMe 256GB 0x1 256.06 GB / 256.06 GB 512 B + 0 B 22001070
Use drive manufacturer specific plugin:
The following are all installed plugin extensions:
amzn Amazon vendor specific extensions
dapustor DapuStor vendor specific extensions
dell DELL vendor specific extensions
dera Dera vendor specific extensions
fdp Manage Flexible Data Placement enabled devices
huawei Huawei vendor specific extensions
innogrit innogrit vendor specific extensions
inspur Inspur vendor specific extensions
intel Intel vendor specific extensions
memblaze Memblaze vendor specific extensions
micron Micron vendor specific extensions
nbft ACPI NBFT table extensions
netapp NetApp vendor specific extensions
nvidia NVIDIA vendor specific extensions
sndk Sandisk vendor specific extensions
sfx ScaleFlux vendor specific extensions
seagate Seagate vendor specific extensions
shannon Shannon vendor specific extensions
ssstc SSSTC vendor specific extensions
toshiba Toshiba NVME plugin
transcend Transcend vendor specific extensions
virtium Virtium vendor specific extensions
wdc Western Digital vendor specific extensions
ymtc Ymtc vendor specific extensions
zns Zoned Namespace Command Set
feat NVMe feature extensions
lm Live Migration NVMe extensions
ocp OCP cloud SSD extensions
sed SED Opal Command Set
solidigm Solidigm vendor specific extensions
usage: nvme micron [] []
The '' may be either an NVMe character device (ex: /dev/nvme0), an
nvme block device (ex: /dev/nvme0n1), or a mctp address in the form
mctp:,[:ctrl-id]
Micron vendor specific extensions
The following are all implemented sub-commands:
select-download Selective Firmware Download
vs-temperature-stats Retrieve Micron temperature statistics
vs-pcie-stats Retrieve Micron PCIe error stats
clear-pcie-correctable-errors Clear correctable PCIe errors
vs-internal-log Retrieve Micron logs
vs-telemetry-controller-option Enable/Disable controller telemetry log generation
vs-nand-stats Retrieve NAND Stats
vs-smart-ext-log Retrieve extended SMART logs
vs-drive-info Retrieve Drive information
plugin-version Display plugin version info
cloud-SSD-plugin-version Display plugin version info
log-page-directory Retrieve log page directory
vs-fw-activate-history Display FW activation history
latency-tracking Latency monitoring feature control
latency-stats Latency information for tracked commands
latency-logs Latency log details tracked by drive
vs-smart-add-log Retrieve extended SMART data
clear-fw-activate-history Clear FW activation history
vs-smbus-option Enable/Disable SMBUS on the drive
version Shows the program version
help Display this help
==== Links ====
* [[https://superuser.com/questions/1801429/looking-for-smartctl-nvme-log-error-explanation-0xa013-0x8004-and-0x9016-0x8004 ]]
* [[https://openchannelssd.readthedocs.io/en/latest/gettingstarted/]]