2025-02-16 11:09:01 +01:00
'\" t
. \" Title: nvme
. \" Author: [see the "Authors" section]
2025-02-16 12:13:48 +01:00
. \" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
2025-02-16 12:16:19 +01:00
. \" Date: 07/14/2022
2025-02-16 11:09:01 +01:00
. \" Manual: NVMe Manual
. \" Source: NVMe
. \" Language: English
. \"
2025-02-16 12:16:19 +01:00
.TH "NVME" "1" "07/14/2022" "NVMe" "NVMe Manual"
2025-02-16 11:09:01 +01:00
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
.SH "NAME"
nvme \- the NVMe storage command line interface utility (nvme\- cli)
.SH "SYNOPSIS"
.sp
built\- in plugin:
.sp
.nf
\fI nvme\fR <command> <device> [<args>]
.fi
.sp
extension plugins:
.sp
.nf
\fI nvme\fR <plugin> <command> <device> [<args>]
.fi
.SH "DESCRIPTION"
.sp
NVM\- Express is a fast, scalable host controller interface designed to address the needs for not only PCI Express based solid state drives, but also NVMe\- oF(over fabrics)\& .
.sp
This \fI nvme\fR program is a user space utility to provide standards compliant tooling for NVM\- Express drives\& . It was made specifically for Linux as it relies on the IOCTLs defined by the mainline kernel driver\& .
.SH "NVME COMMANDS"
.sp
The utility has sub\- commands for all admin and io commands defined in the specification and for displaying controller registers\& . There is also an option to submit completely arbitrary commands\& . For a list of commands available, run "nvme help"\& .
.SH "NVME CLI SUB\-COMMANDS"
.SS "Main commands"
.PP
\fB nvme-admin-passthru\fR (1)
.RS 4
Admin Passthrough Command
.RE
.PP
\fB nvme-compare\fR (1)
.RS 4
IO Compare
.RE
.PP
\fB nvme-error-log\fR (1)
.RS 4
Retrieve error logs
.RE
.PP
\fB nvme-flush\fR (1)
.RS 4
Submit flush
.RE
.PP
2025-02-16 12:15:45 +01:00
\fB nvme-dsm\fR (1)
2025-02-16 11:09:01 +01:00
.RS 4
Submit Data Set Management
.RE
.PP
\fB nvme-format\fR (1)
.RS 4
Format namespace(s)
.RE
.PP
\fB nvme-fw-activate\fR (1)
.RS 4
2025-02-16 11:31:10 +01:00
F/W Activate (in old version < 1\& .2)
.RE
.PP
\fB nvme-fw-commit\fR (1)
.RS 4
F/W Commit (in > 1\& .2)
2025-02-16 11:09:01 +01:00
.RE
.PP
\fB nvme-fw-download\fR (1)
.RS 4
F/W Download
.RE
.PP
\fB nvme-fw-log\fR (1)
.RS 4
Retrieve f/w log
.RE
.PP
\fB nvme-get-feature\fR (1)
.RS 4
Get Features
.RE
.PP
\fB nvme-get-log\fR (1)
.RS 4
Generic Get Log
.RE
.PP
\fB nvme-telemetry-log\fR (1)
.RS 4
Telemetry Host\- Initiated Log
.RE
.PP
2025-02-16 11:31:10 +01:00
\fB nvme-changed-ns-list-log\fR (1)
.RS 4
Retrieve Changed Namespace List Log
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-smart-log\fR (1)
.RS 4
Retrieve Smart Log
.RE
.PP
2025-02-16 11:31:10 +01:00
\fB nvme-ana-log\fR (1)
.RS 4
2025-02-16 12:16:19 +01:00
Retrieve ANA(Asymmetric Namespace Access) Log
2025-02-16 11:31:10 +01:00
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-endurance-log\fR (1)
.RS 4
Retrieve endurance Log
.RE
.PP
\fB nvme-effects-log\fR (1)
.RS 4
Retrieve effects Log
.RE
.PP
2025-02-16 11:31:10 +01:00
\fB nvme-self-test-log\fR (1)
.RS 4
Retrieve Device Self\- test Log
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-get-ns-id\fR (1)
.RS 4
Retrieve namespace identifier
.RE
.PP
\fB nvme-help\fR (1)
.RS 4
NVMe CLI Help
.RE
.PP
\fB nvme-id-ctrl\fR (1)
.RS 4
Identify Controller
.RE
.PP
\fB nvme-id-ns\fR (1)
.RS 4
Identify Namespace
.RE
.PP
2025-02-16 11:31:10 +01:00
\fB nvme-id-nvmset\fR (1)
.RS 4
Identify NVM Set List
.RE
.PP
\fB nvme-id-iocs\fR (1)
.RS 4
Identify I/O Command Set
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-create-ns\fR (1)
.RS 4
Create a new namespace
.RE
.PP
\fB nvme-delete-ns\fR (1)
.RS 4
Delete existing namespace
.RE
.PP
\fB nvme-attach-ns\fR (1)
.RS 4
Attach namespace
.RE
.PP
\fB nvme-detach-ns\fR (1)
.RS 4
Detach namespace
.RE
.PP
\fB nvme-io-passthru\fR (1)
.RS 4
IO Passthrough Command
.RE
.PP
\fB nvme-list-ns\fR (1)
.RS 4
List all nvme namespaces
.RE
.PP
\fB nvme-ns-descs\fR (1)
.RS 4
Identify Namespace Identification Descriptor
.RE
.PP
\fB nvme-list\fR (1)
.RS 4
List all nvme controllers
.RE
.PP
\fB nvme-list-ctrl\fR (1)
.RS 4
List controller in NVMe subsystem
.RE
.PP
2025-02-16 11:31:10 +01:00
\fB nvme-list-subsys\fR (1)
.RS 4
List NVMe subsystems
.RE
.PP
\fB nvme-reset\fR (1)
.RS 4
Reset a NVMe controller
.RE
.PP
\fB nvme-device-self-test\fR (1)
.RS 4
Issue Device Self\- test Command
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-read\fR (1)
.RS 4
Issue IO Read Command
.RE
.PP
\fB nvme-write\fR (1)
.RS 4
Issue IO Write Command
.RE
.PP
\fB nvme-write-zeroes\fR (1)
.RS 4
Issue IO Write Zeroes Command
.RE
.PP
\fB nvme-write-uncor\fR (1)
.RS 4
Issue IO Write Uncorrectable Command
.RE
.PP
\fB nvme-resv-acquire\fR (1)
.RS 4
Acquire Namespace Reservation
.RE
.PP
\fB nvme-resv-register\fR (1)
.RS 4
Register Namespace Reservation
.RE
.PP
\fB nvme-resv-release\fR (1)
.RS 4
Release Namespace Reservation
.RE
.PP
\fB nvme-resv-report\fR (1)
.RS 4
Report Reservation Capabilities
.RE
.PP
\fB nvme-security-recv\fR (1)
.RS 4
Security Receive
.RE
.PP
\fB nvme-security-send\fR (1)
.RS 4
Security Send
.RE
.PP
2025-02-16 11:31:10 +01:00
\fB nvme-dsm\fR (1)
.RS 4
Issue Data Set Management Command
.RE
.PP
\fB nvme-copy\fR (1)
.RS 4
Issue Simple Copy Command
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-set-feature\fR (1)
.RS 4
Set Feature
.RE
.PP
\fB nvme-show-regs\fR (1)
.RS 4
Show NVMe Controller Registers
.RE
.PP
\fB nvme-discover\fR (1)
.RS 4
Send Get Log Page request to Discovery Controller
.RE
.PP
\fB nvme-connect-all\fR (1)
.RS 4
Discover and connect to all NVMe\- over\- Fabrics subsystems
.RE
.PP
\fB nvme-connect\fR (1)
.RS 4
Connect to an NVMe\- over\- Fabrics subsystem
.RE
.PP
2025-02-16 12:15:45 +01:00
\fB nvme-dim\fR (1)
.RS 4
Send Discovery Information Management command to a Discovery Controller
.RE
.PP
2025-02-16 11:09:01 +01:00
\fB nvme-disconnect\fR (1)
.RS 4
Disconnect from an NVMe\- over\- Fabrics subsystem
.RE
.PP
\fB nvme-disconnect-all\fR (1)
.RS 4
Disconnect from all NVMe\- over\- Fabrics subsystems
.RE
.PP
\fB nvme-get-property\fR (1)
.RS 4
Reads and shows NVMe\- over\- Fabrics controller property
.RE
2025-02-16 12:15:45 +01:00
.PP
\fB nvme-media-unit-stat-log\fR (1)
.RS 4
Retrieve and show the configuration and wear of media units
.RE
.PP
\fB nvme-supported-cap-config-log\fR (1)
.RS 4
Retrieve and show the list of Supported Capacity Configuration Descriptors
.RE
.PP
\fB nvme-boot-part-log\fR (1)
.RS 4
Retrieve Boot Partition Log
.RE
.PP
\fB nvme-capacity-mgmt\fR (1)
.RS 4
Capacity Management Command
.RE
.PP
\fB nvme-check-dhchap-key\fR (1)
.RS 4
Generate NVMeoF DH\- HMAC\- CHAP host key
.RE
.PP
\fB nvme-check-tls-key\fR (1)
.RS 4
Validate NVMeoF TLS PSK
.RE
.PP
\fB nvme-cmdset-ind-id-ns\fR (1)
.RS 4
I/O Command Set Independent Identify Namespace
.RE
.PP
\fB nvme-endurance-event-agg-log\fR (1)
.RS 4
Retrieve Endurance Group Event Aggregate Log
.RE
.PP
\fB nvme-fid-support-effects-log\fR (1)
.RS 4
Retrieve FID Support and Effects log
.RE
.PP
\fB nvme-gen-dhchap-key\fR (1)
.RS 4
Generate NVMeoF DH\- HMAC\- CHAP host key
.RE
.PP
\fB nvme-gen-hostnqn\fR (1)
.RS 4
Generate NVMeoF host NQN
.RE
.PP
\fB nvme-gen-tls-key\fR (1)
.RS 4
Generate NVMeoF TLS PSK
.RE
.PP
\fB nvme-get-lba-status\fR (1)
.RS 4
Get LBA Status command
.RE
.PP
\fB nvme-id-domain\fR (1)
.RS 4
NVMe Identify Domain List
.RE
.PP
\fB nvme-id-ns-lba-format\fR (1)
.RS 4
NVMe Identify Namespace for the specified LBA Format index
.RE
.PP
\fB nvme-lba-status-log\fR (1)
.RS 4
Retrieve LBA Status Information Log
.RE
.PP
\fB nvme-list-endgrp\fR (1)
.RS 4
NVMe Identify Endurance Group List
.RE
.PP
\fB nvme-ns-rescan\fR (1)
.RS 4
Rescans the NVME namespaces
.RE
.PP
\fB nvme-nvm-id-ctrl\fR (1)
.RS 4
NVMe Identify Controller NVM Command Set
.RE
.PP
\fB nvme-nvm-id-ns\fR (1)
.RS 4
NVMe Identify Namespace NVM Command Set
.RE
.PP
\fB nvme-nvm-id-ns-lba-format\fR (1)
.RS 4
NVMe Identify Namespace NVM Command Set for the specified LBA Format index
.RE
.PP
\fB nvme-persistent-event-log\fR (1)
.RS 4
2025-02-16 12:16:19 +01:00
Retrieve Persistent Event Log
2025-02-16 12:15:45 +01:00
.RE
.PP
\fB nvme-predictable-lat-log\fR (1)
.RS 4
Retrieve Predictable Latency per Nvmset Log
.RE
.PP
\fB nvme-pred-lat-event-agg-log\fR (1)
.RS 4
Retrieve Predictable Latency Event Aggregate Log
.RE
.PP
\fB nvme-primary-ctrl-caps\fR (1)
.RS 4
NVMe Identify Primary Controller Capabilities
.RE
.PP
\fB nvme-reset\fR (1)
.RS 4
Resets the controller
.RE
.PP
\fB nvme-rpmb\fR (1)
.RS 4
Replay Protection Memory Block commands
.RE
.PP
\fB nvme-sanitize-log\fR (1)
.RS 4
Retrieve sanitize log
.RE
.PP
\fB nvme-set-property\fR (1)
.RS 4
Set a property and show the resulting value
.RE
.PP
\fB nvme-show-hostnqn\fR (1)
.RS 4
Show NVMeoF host NQN
.RE
.PP
\fB nvme-subsystem-reset\fR (1)
.RS 4
Resets the subsystem
.RE
.PP
\fB nvme-supported-log-pages\fR (1)
.RS 4
Retrieve the Supported Log pages details
.RE
.PP
\fB nvme-verify\fR (1)
.RS 4
verify command
.RE
.SS "Plugins/Vendor extension commands"
.PP
\fB nvme-intel-id-ctrl\fR (1)
.RS 4
Intel \- NVMe Identify Controller
.RE
.PP
\fB nvme-intel-internal-log\fR (1)
.RS 4
Retrieve Intel device\(cq s internal log and save to file
.RE
.PP
\fB nvme-intel-lat-stats\fR (1)
.RS 4
Retrieve NVMe Identify Controller, return result and structure
.RE
.PP
\fB nvme-intel-market-name\fR (1)
.RS 4
Intel vendor specific marketing name log page
.RE
.PP
\fB nvme-intel-smart-log-add\fR (1)
.RS 4
NVMe Intel Additional SMART log page
.RE
.PP
\fB nvme-intel-temp-stats\fR (1)
.RS 4
NVMe Intel Additional SMART log page for temp stats
.RE
.PP
\fB nvme-huawei-id-ctrl\fR (1)
.RS 4
NVMe huawei Identify Controller
.RE
.PP
\fB nvme-huawei-list\fR (1)
.RS 4
List all recognized Huawei NVMe devices
.RE
.PP
\fB nvme-dera-stat\fR (1)
.RS 4
NVMe Dera Device status and Additional SMART log page request
.RE
.PP
\fB nvme-micron-clear-pcie-errors\fR (1)
.RS 4
Clears correctable PCIe correctable errors of given Micron device
.RE
.PP
\fB nvme-micron-internal-log\fR (1)
.RS 4
Retrieve Micron device\(cq s internal logs and save to given zip file
.RE
.PP
\fB nvme-micron-nand-stats\fR (1)
.RS 4
Retrieves NAND statistics of given micron device
.RE
.PP
\fB nvme-micron-pcie-stats\fR (1)
.RS 4
Retrieves pcie error statistics for given micron device
.RE
.PP
\fB nvme-micron-selective-download\fR (1)
.RS 4
Performs selective firmware download
.RE
.PP
\fB nvme-micron-smart-add-log\fR (1)
.RS 4
Retrieves NAND statistics
.RE
.PP
\fB nvme-micron-temperature-stats\fR (1)
.RS 4
Retrieves temperature information of given micron device
.RE
.PP
\fB nvme-netapp-ontapdevices\fR (1)
.RS 4
Display information about ONTAP devices
.RE
.PP
\fB nvme-netapp-smdevices\fR (1)
.RS 4
Display information for each NVMe path to an E\- Series volume
.RE
.PP
\fB nvme-toshiba-clear-pcie-correctable-errors\fR (1)
.RS 4
Reset the PCIe correctable errors count to zero
.RE
.PP
\fB nvme-toshiba-vs-internal-log\fR (1)
.RS 4
Retrieve a Toshiba device\(cq s vendor specific internal log
.RE
.PP
\fB nvme-toshiba-vs-smart-add-log\fR (1)
.RS 4
Retrieve a Toshiba device\(cq s vendor specific extended SMART log page
.RE
.PP
\fB nvme-transcend-badblock\fR (1)
.RS 4
Retrieve Transcend NVMe device\(cq s bad blocks
.RE
.PP
\fB nvme-transcend-healthvalue\fR (1)
.RS 4
2025-02-16 12:16:19 +01:00
Use NVMe SMART table to analyze the health value of Transcend device
2025-02-16 12:15:45 +01:00
.RE
.PP
\fB nvme-virtium-show-identify\fR (1)
.RS 4
Show a complete detail of identify device information in json format
.RE
.PP
\fB nvme-virtium-save-smart-to-vtview-log\fR (1)
.RS 4
Periodically save smart attributes into a log file
.RE
.PP
\fB nvme-wdc-cap-diag\fR (1)
.RS 4
Retrieve WDC device\(cq s diagnostic log and save to file
.RE
.PP
\fB nvme-wdc-capabilities\fR (1)
.RS 4
Display WDC plugin command capabilities
.RE
.PP
\fB nvme-wdc-clear-assert-dump\fR (1)
.RS 4
Clears the assert dump (if present)
.RE
.PP
\fB nvme-wdc-clear-fw-activate-history\fR (1)
.RS 4
Clears the firmware activate history table
.RE
.PP
\fB nvme-wdc-clear-pcie-corr\fR (1)
.RS 4
Clears the pcie correctable errors field
.RE
.PP
\fB nvme-wdc-clear-pcie-correctable-errors\fR (1)
.RS 4
Clears the pcie correctable errors returned in the smart\- log\- add command
.RE
.PP
\fB nvme-wdc-cloud-SSD-plugin-version\fR (1)
.RS 4
Display WDC plugin Cloud SSD Plugin Version
.RE
.PP
\fB nvme-wdc-drive-essentials\fR (1)
.RS 4
Retrieve WDC device\(cq s drive essentials bin files
.RE
.PP
\fB nvme-wdc-drive-log\fR (1)
.RS 4
Retrieve WDC device\(cq s drive log and save to file
.RE
.PP
\fB nvme-wdc-drive-resize\fR (1)
.RS 4
Send NVMe WDC Resize Vendor Unique Command
.RE
.PP
\fB nvme-wdc-enc-get-log\fR (1)
.RS 4
Send NVMe WDC enc\- get\- log Vendor Unique Command
.RE
.PP
\fB nvme-wdc-get-crash-dump\fR (1)
.RS 4
Retrieve WDC device\(cq s crash dump
.RE
.PP
\fB nvme-wdc-get-drive-status\fR (1)
.RS 4
Send the NVMe WDC get\- drive\- status command
.RE
.PP
\fB nvme-wdc-get-latency-monitor-log\fR (1)
.RS 4
Display latency monitor log page data in human readable format
.RE
.PP
\fB nvme-wdc-get-pfail-dump\fR (1)
.RS 4
Retrieve WDC device\(cq s pfail crash dump
.RE
.PP
\fB nvme-wdc-id-ctrl\fR (1)
.RS 4
Send NVMe Identify Controller, return result and structure
.RE
.PP
\fB nvme-wdc-log-page-directory\fR (1)
.RS 4
Retrieves the list of Log IDs supported by the drive
.RE
.PP
\fB nvme-wdc-namespace-resize\fR (1)
.RS 4
Resizes the device\(cq s namespace
.RE
.PP
\fB nvme-wdc-purge-monitor\fR (1)
.RS 4
Send NVMe WDC Purge\- Monitor Vendor Unique Command
.RE
.PP
\fB nvme-wdc-purge\fR (1)
.RS 4
Send NVMe WDC Purge Vendor Unique Command
.RE
.PP
\fB nvme-wdc-smart-add-log\fR (1)
.RS 4
Send NVMe WDC smart add log Vendor Unique Command
.RE
.PP
\fB nvme-wdc-vs-drive-info\fR (1)
.RS 4
Send the NVMe WDC vs\- drive\- info command
.RE
.PP
\fB nvme-wdc-vs-error-reason-identifier\fR (1)
.RS 4
Retrieve WDC device\(cq s telemetry log error reason identifier field
.RE
.PP
\fB nvme-wdc-vs-fw-activate-history\fR (1)
.RS 4
Execute NVMe WDC vs\- fw\- activate\- history Vendor Unique Command
.RE
.PP
\fB nvme-wdc-vs-internal-log\fR (1)
.RS 4
Retrieve WDC device\(cq s internal firmware log and save to file
.RE
.PP
\fB nvme-wdc-vs-nand-stats\fR (1)
.RS 4
Send NVMe WDC vs\- nand\- stats Vendor Unique Command
.RE
.PP
\fB nvme-wdc-vs-telemetry-controller-option\fR (1)
.RS 4
Disable/Enable the controller initiated option of the telemetry log page
.RE
.PP
\fB nvme-wdc-vs-temperature-stats\fR (1)
.RS 4
Display temperature\- related statistics
.RE
.PP
\fB nvme-zns-changed-zone-list\fR (1)
.RS 4
Retrieve Changed Zone log for the given device
.RE
.PP
\fB nvme-zns-close-zone\fR (1)
.RS 4
Closes one or all zones
.RE
.PP
\fB nvme-zns-finish-zone\fR (1)
.RS 4
Finishes one or all zones
.RE
.PP
\fB nvme-zns-id-ctrl\fR (1)
.RS 4
Send NVMe Zoned Command Set Identify Controller
.RE
.PP
\fB nvme-zns-id-ns\fR (1)
.RS 4
Send NVMe Zoned Command Set Identify Namespace
.RE
.PP
\fB nvme-zns-offline-zone\fR (1)
.RS 4
Offlines one or all zones
.RE
.PP
\fB nvme-zns-open-zone\fR (1)
.RS 4
Opens one or all zones
.RE
.PP
\fB nvme-zns-report-zones\fR (1)
.RS 4
Retrieve and display the Report Zones data structure
.RE
.PP
\fB nvme-zns-reset-zone\fR (1)
.RS 4
Resets one or all zones
.RE
.PP
\fB nvme-zns-set-zone-desc\fR (1)
.RS 4
Set extended descriptor data for a zone
.RE
.PP
\fB nvme-zns-zone-append\fR (1)
.RS 4
Send an NVMe write command, provide results
.RE
.PP
\fB nvme-zns-zone-mgmt-recv\fR (1)
.RS 4
Zone Management Receive command
.RE
.PP
\fB nvme-zns-zone-mgmt-send\fR (1)
.RS 4
Zone Management Send command
.RE
.PP
\fB nvme-zns-zrwa-flush-zone\fR (1)
.RS 4
Flush LBAs associated with a ZRWA to a zone
.RE
2025-02-16 12:16:19 +01:00
.SH "RETURNS"
.sp
All commands will behave the same, they will return 0 on success and 1 on failure\& .
2025-02-16 11:09:01 +01:00
.SH "FURTHER DOCUMENTATION"
.sp
See the freely available references on the \m[blue]\fBOfficial NVM\-Express Site\fR\m[]\&\s-2\u[1] \d \s +2\& .
.SH "AUTHORS"
.sp
This is written and maintained by \m[blue]\fBKeith Busch\fR\m[]\&\s-2\u[2] \d \s +2\& .
.SH "REPORTING BUGS"
.sp
Patches and issues may be submitted to the official repository at \m[blue]\fBhttps://github\&.com/linux\-nvme/nvme\-cli\fR\m[] or the Linux NVMe mailing list \m[blue]\fBlinux\-nvme\fR\m[]\&\s-2\u[3] \d \s +2
.SH "NVME"
.sp
Part of the nvme suite
.SH "NOTES"
.IP " 1." 4
Official NVM-Express Site
.RS 4
\% http://nvmexpress.org
.RE
.IP " 2." 4
Keith Busch
.RS 4
\% mailto:kbusch@kernel.org
.RE
.IP " 3." 4
linux-nvme
.RS 4
\% mailto:linux-nvme@lists.infradead.org
.RE