NVME(1)
๐ NAME ๐
Welcome to the NVMe Manual, bestie โ this is nvme(1), aka the NVMe storage command line interface utility (nvme-cli). Sheโs the utility that runs the NVMe show, periodt. ๐๐ฆ
โจ SYNOPSIS โจ
Hereโs the built-in plugin shape first, then the extension-plugin shape, both exactly as the manual lays them out:
built-in plugin:
nvme [<global-options>] <command> <device> [<args>]
extension plugins:
nvme [<global-options>] <plugin> <command> <device> [<args>]
No cap, this is the whole invocation vibe. ๐ซถ
๐ DESCRIPTION ๐
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). Itโs giving speed, scale, and range, literally. โจ
This nvme 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. Linux-only main character energy, and thatโs on purpose. ๐ง๐
๐ NVME COMMANDS ๐
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. Honestly? A little nvme help moment fixes a lot. ๐
๐ฆ NVME CLI SUB-COMMANDS ๐ฆ
๐ Main commands ๐
Okay bestie, hereโs the full main-command menu, in order, no skips, no โI forgot oneโ energy:
nvme-admin-passthru(1)โ submits an arbitrary admin command and returns the results. ๐ซถnvme-capacity-mgmt(1)โ submits a Capacity Management Command and returns the results.nvme-compare(1)โ submits a Compare command and returns the results.nvme-connect(1)โ connects to an NVMeoF subsystem.nvme-connect-all(1)โ discovers and connects to NVMeoF subsystems.nvme-copy(1)โ submits a Simple Copy command and returns the results.nvme-device-self-test(1)โ performs the necessary tests to observe the performance.nvme-dim(1)โ sends a Discovery Information Management command to a Discovery Controller.nvme-disconnect(1)โ disconnects from an NVMeoF subsystem.nvme-disconnect-all(1)โ disconnects from all connected NVMeoF subsystems.nvme-discover(1)โ discovers NVMeoF subsystems.nvme-dsm(1)โ submits a Data Set Management command and returns the results.nvme-flush(1)โ submits a Flush command and returns the results.nvme-format(1)โ formats a namespace with a new block format.nvme-gen-hostnqn(1)โ generates an NVMeoF host NQN.nvme-get-feature(1)โ gets a feature and shows the resulting value.nvme-get-lba-status(1)โ submits a Get LBA Status command and returns the results.nvme-get-log(1)โ the generic NVMe get log; returns the log in raw format.nvme-get-property(1)โ gets a property and shows the resulting value.nvme-get-reg(1)โ gets a register and shows the resulting value.nvme-io-passthru(1)โ submits an arbitrary IO command and returns the results.nvme-list(1)โ lists all NVMe devices and namespaces on the machine.nvme-list-subsys(1)โ listsnvmesubsystems.nvme-lockdown(1)โ submits a Lockdown command and returns the result.nvme-ns-rescan(1)โ rescans the NVME namespaces.nvme-read(1)โ submits a read command and returns the results.nvme-reset(1)โ resets the controller.nvme-sanitize(1)โ submits a sanitize command.nvme sanitize-nsโ submits a sanitize namespace command.nvme-set-feature(1)โ sets a feature and shows the resulting value.nvme-set-property(1)โ sets a property and shows the resulting value.nvme-set-reg(1)โ sets a register and shows the resulting value.nvme-show-hostnqn(1)โ shows the NVMeoF host NQN.nvme-show-regs(1)โ shows the controller registers or properties. Requires character device. ๐nvme-show-topology(1)โ shows the topology.nvme-subsystem-reset(1)โ resets the subsystem.nvme-top(1)โ thenvme topview.nvme-verify(1)โ submits a verify command and returns the results.nvme-virt-mgmt(1)โ manages Flexible Resources between Primary and Secondary Controller.nvme-write(1)โ submits a write command and returns the results.nvme-write-uncor(1)โ submits a write uncorrectable command and returns the results.nvme-write-zeroes(1)โ submits a write zeroes command and returns the results.nvme-config-convert(1)โ convertsconfig.json/discovery.confto INI.nvme-config-create(1)โ creates an NVMeoF connection entry in the INI configuration.nvme-config-show(1)โ shows the resolved NVMeoF connection configuration.nvme-config-status(1)โ reports config status.nvme-config-validate(1)โ validates an NVMeoF connection configuration.nvme-dir-receive(1)โ submits a Directive Receive command and returns the results.nvme-dir-send(1)โ submits a Directive Send command and returns the results.nvme-exclusion-add(1)โ adds an entry to an exclusion list.nvme-exclusion-create(1)โ creates an exclusion list.nvme-exclusion-delete(1)โ deletes an exclusion list.nvme-exclusion-edit(1)โ edits an exclusion list interactively.nvme-exclusion-list(1)โ lists exclusion lists or entries.nvme-exclusion-remove(1)โ removes an entry from an exclusion list.nvme-fdp-configs(1)โ lists configurations.nvme-fdp-events(1)โ lists events affecting reclaim units and media usage.nvme-fdp-feature(1)โ shows, enables, or disables FDP configuration.nvme-fdp-set-events(1)โ enables or disables events.nvme-fdp-stats(1)โ shows statistics.nvme-fdp-status(1)โ shows reclaim unit handle status.nvme-fdp-update(1)โ updates a reclaim unit handle.nvme-fdp-usage(1)โ shows reclaim unit handle usage.nvme-feat-arbitration(1)โ gets and sets the arbitration feature.nvme-feat-async-event-conf(1)โ gets and sets the async event configuration feature.nvme-feat-err-recovery(1)โ gets and sets the error recovery feature.nvme-feat-hctm(1)โ gets and sets the host controlled thermal management feature.nvme-feat-host-behavior-support(1)โ gets and sets the host behavior support feature.nvme-feat-int-coalesce(1)โ gets and sets the interrupt coalescing feature.nvme-feat-int-vector-config(1)โ gets and sets the interrupt vector configuration feature.nvme-feat-keep-alive-timer(1)โ gets and sets the keep alive timer feature.nvme-feat-lba-range-type(1)โ gets and sets the lba range type feature.nvme-feat-num-queues(1)โ gets and sets the number of queues feature.nvme-feat-perfc(1)โ gets and sets the perf characteristics feature.nvme-feat-power-limit(1)โ gets and sets the power limit feature.nvme-feat-power-meas(1)โ gets and sets the power measurement feature.nvme-feat-power-mgmt(1)โ gets and sets the power management feature.nvme-feat-power-thresh(1)โ gets and sets the power threshold feature.nvme-feat-temp-thresh(1)โ gets and sets the temperature threshold feature.nvme-feat-timestamp(1)โ gets and sets the timestamp feature.nvme-feat-volatile-wc(1)โ gets and sets the volatile write cache feature.nvme-feat-write-atom-normal(1)โ gets and sets the write atomicity normal feature.nvme-fw-commit(1)โ verifies and commits firmware to a specific slot (fw-activatein old version < 1.2).nvme-fw-download(1)โ downloads new firmware.nvme-id-ctrl(1)โ sends NVMe Identify Controller.nvme-id-ctrl-list(1)โ sends NVMe Identify Controller List and displays the structure.nvme-id-domain(1)โ sends NVMe Identify Domain List and displays the structure.nvme-id-endgrp-list(1)โ sends NVMe Identify Endurance Group List and displays the structure.nvme-id-iocs(1)โ sends NVMe Identify I/O Command Set and displays the structure.nvme-id-ns(1)โ sends NVMe Identify Namespace and displays the structure.nvme-id-ns-descs(1)โ sends NVMe Namespace Descriptor List and displays the structure.nvme-id-ns-granularity(1)โ sends NVMe Identify Namespace Granularity List and displays the structure.nvme-id-ns-ind(1)โ does I/O Command Set Independent Identify Namespace.nvme-id-ns-lba-format(1)โ sends NVMe Identify Namespace for the specified LBA Format index and displays the structure.nvme-id-ns-list(1)โ sends NVMe Identify List and displays the structure.nvme-id-nvm-ctrl(1)โ sends NVMe Identify Controller NVM Command Set and displays the structure.nvme-id-nvm-ns(1)โ sends NVMe Identify Namespace NVM Command Set and displays the structure.nvme-id-nvm-ns-lba-format(1)โ sends NVMe Identify Namespace NVM Command Set for the specified LBA Format index and displays the structure.nvme-id-nvmset(1)โ sends NVMe Identify NVM Set List and displays the structure.nvme-id-primary-ctrl-caps(1)โ sends NVMe Identify Primary Controller Capabilities.nvme-id-secondary-ctrl-list(1)โ lists Secondary Controllers associated with a Primary Controller.nvme-id-uuid(1)โ sends NVMe Identify UUID List and displays the structure.nvme-io-mgmt-recv(1)โ does I/O Management Receive.nvme-io-mgmt-send(1)โ does I/O Management Send.nvme-keys-check-kxchap-secret(1)โ validates NVMeoF KX-HMAC-CHAP host secret format or checks if loaded.nvme-keys-check-tls-psk(1)โ validates NVMeoF TLS PSK format or checks if loaded.nvme-keys-export(1)โ exports NVMeoF TLS PSKs from a keyring.nvme-keys-gen-kxchap-secret(1)โ generates NVMeoF KX-HMAC-CHAP host secret.nvme-keys-gen-tls-psk(1)โ generates NVMeoF TLS PSK.nvme-keys-import(1)โ imports NVMeoF TLS PSKs and KX-HMAC-CHAP secrets into a keyring.nvme-keys-insert-tls-psk(1)โ inserts NVMeoF TLS PSK into a keyring.nvme-keys-revoke(1)โ revokes an NVMeoF TLS PSK from a keyring.nvme lm create-cdqโ creates a Controller Data Queue.nvme lm delete-cdqโ deletes a Controller Data Queue.nvme lm get-cdqโ gets Feature - Controller Data Queue (FID 21h).nvme lm migration-recvโ does Migration Receive.nvme lm migration-sendโ does Migration Send.nvme lm set-cdqโ sets Feature - Controller Data Queue (FID 21h).nvme lm track-sendโ does Track Send Command.nvme-log-ana(1)โ retrieves the ANA Log and shows it.nvme-log-ave-discovery(1)โ retrieves the AVE Discovery Log and shows it.nvme-log-boot-part(1)โ retrieves the Boot Partition Log and shows it.nvme-log-changed-alloc-ns-list(1)โ retrieves the Changed Allocated Namespace List and shows it.nvme-log-changed-ns-list(1)โ retrieves the Changed Attached Namespace List and shows it.nvme-log-dispersed-ns-participating-nss(1)โ retrieves the Dispersed Namespace Participating NVM Subsystems Log and shows it.nvme-log-effects(1)โ retrieves the Command Effects Log and shows it.nvme-log-endurance(1)โ retrieves the Endurance Group Log and shows it.nvme-log-endurance-event-agg(1)โ retrieves the Endurance Group Event Aggregate Log and shows it.nvme-log-error(1)โ retrieves the Error Log and shows it.nvme-log-fid-support-effects(1)โ retrieves the FID Support and Effects log and shows it.nvme-log-fw(1)โ retrieves the FW Log and shows it.nvme-log-host-discovery(1)โ retrieves the Host Discovery Log and shows it.nvme-log-lba-status(1)โ pulls the LBA Status Information Log and shows it off ๐ yep, the whole log, displayednvme-log-media-unit-stat(1)โ grabs the configuration and the wear of your media units, then shows it, because knowing how tired your media is matters ๐ซถnvme-log-mgmt-addr-list(1)โ Retrieves the Management Address List Log, shows it, no notes โจnvme-log-mi-cmd-support-effects(1)โ pulls the MI Command Support and Effects log and shows it, iconic behaviornvme-log-persistent-event(1)โ Retrieves the Persistent Event Log and shows it. the lore. preserved. ๐nvme-log-phy-rx-eom(1)โ Retrieves the Physical Interface Receiver Eye Opening Measurement, and yes it shows it. eye opening measurement bestie, we're literally checking the vibes of your signal ๐ธnvme log power-measurementโ Retrieves the Power Measurement Log and shows it, so you can see exactly what your watts are doing โกnvme-log-pred-lat-event-agg(1)โ Retrieves the Predictable Latency Event Aggregate Log, shows it, main character of aggregate logsnvme-log-predictable-lat(1)โ Retrieves the Predictable Latency per Nvmset Log, shows it. per. nvmset. ๐nvme log pull-model-ddc-reqโ Retrieves the Pull Model DDC Request Log, shows it, slaynvme-log-reachability-associations(1)โ Retrieves the Reachability Associations Log, shows it ๐ฅnvme-log-reachability-groups(1)โ Retrieves the Reachability Groups Log, shows it, and yes it's the groups one not the associations one, read carefully bestienvme-log-resv-notif(1)โ Retrieves the Reservation Notification Log, shows it ๐nvme-log-rotational-media-info(1)โ Retrieves the Rotational Media Information Log, shows it. spinning rust lore, but make it informational ๐nvme-log-sanitize(1)โ Retrieves the sanitize log, shows it. the sanitize log!! keep an eye on it ๐nvme-log-self-test(1)โ Retrieves the SELF-TEST Log, shows it. self care but it's diagnostics ๐งnvme-log-smart(1)โ Retrieves the SMART Log, shows it. the classic. the moment. the health check โญnvme-log-supported-cap-config(1)โ Retrieves the list of Supported Capacity Configuration Descriptors, and that's the whole list ok, that's the deliverable ๐nvme-supported-log-pages(1)โ Retrieves the Supported Log pages details, shows it. meta af โ it's a log of logs ๐nvme-log-telemetry(1)โ Retrieves the FW Telemetry log and writes it to a file ๐ฆnvme nbft showโ Shows the contents of ACPI NBFT tables. showing. contents. yes ๐nvme-ns-attach(1)โ Attaches a namespace to the controller(s) you asked for, no capnvme-ns-create(1)โ Creates a namespace using the parameters you handed it โจnvme-ns-delete(1)โ Deletes a namespace from the controller. bye bestie ๐nvme-ns-detach(1)โ Detaches a namespace from the requested controller(s) ๐ซถnvme-ns-get-id(1)โ Retrieves the namespace ID of the opened block device. cute little lookupnvme-nvme-mi-recv(1)โ Submits a NVMe-MI Receive command and returns the results ๐จnvme-nvme-mi-send(1)โ Submits a NVMe-MI Send command and returns the results ๐ฌnvme-registry-delete(1)โ Removes a controller's registry entry, gone, deleted, periodtnvme-registry-list(1)โ Lists the live registry entries ๐nvme-registry-retrieve(1)โ Reads an attribute from a controller's entry ๐nvme-registry-update(1)โ Writes an attribute to a controller's entry. writing, not reading, keep up ๐nvme-resv-acquire(1)โ Submits a Reservation Acquire and returns the resultsnvme-resv-register(1)โ Submits a Reservation Register and returns the resultsnvme-resv-release(1)โ Submits a Reservation Release and returns the results ๐๏ธnvme-resv-report(1)โ Submits a Reservation Report and returns the results ๐nvme-rpmb-info(1)โ Prints the RPMB support information for the controller ๐nvme-rpmb-program-key(1)โ Programs the RPMB authentication key ๐nvme-rpmb-read-config(1)โ Reads the RPMB device configuration blocknvme-rpmb-read-counter(1)โ Reads the RPMB write counter. counting the writes fr frnvme-rpmb-read-data(1)โ Reads authenticated data from an RPMB target โnvme-rpmb-write-config(1)โ Writes the RPMB device configuration block โ๏ธnvme-rpmb-write-data(1)โ Writes authenticated data to an RPMB target ๐พnvme-security-recv(1)โ Submits a Security Receive command and returns the results ๐ก๏ธnvme-security-send(1)โ Submits a Security Send command and returns the results ๐ก๏ธnvme-sed-discover(1)โ Discovers SED Opal Locking Features, like a little detective ๐nvme-sed-initialize(1)โ Initializes a SED Opal Device for locking. setting it up to be secure ๐nvme-sed-lock(1)โ Locks a SED Opal Device ๐nvme-sed-password(1)โ Changes the SED Opal Device password ๐คซnvme-sed-revert(1)โ Reverts a SED Opal Device from locking, undoing the lock eranvme-sed-unlock(1)โ Unlocks a SED Opal Device ๐nvme utils dump-command-metadataโ Dumps all commands and their options as JSON. every command. every option. JSON. iconic ๐ฆnvme-zns-changed-zone-list(1)โ Retrieves the changed zone list log ๐ฆnvme-zns-close-zone(1)โ Closes one or more zones ๐ชnvme-zns-finish-zone(1)โ Finishes one or more zones. not closes โ finishes โ different thing bestie โnvme-zns-id-ctrl(1)โ Sends NVMe Identify Zoned Namespace Controller and displays the structure ๐nvme-zns-id-ns(1)โ Sends NVMe Identify Zoned Namespace Namespace and displays the structure ๐nvme zns listโ Lists all NVMe devices with Zoned Namespace Command Set support. the roster ๐nvme-zns-offline-zone(1)โ Offlines one or more zones ๐nvme-zns-open-zone(1)โ Opens one or more zones ๐nvme-zns-report-zones(1)โ Reports the zones associated to a Zoned Namespace ๐nvme-zns-reset-zone(1)โ Resets one or more zones ๐nvme-zns-set-zone-desc(1)โ Attaches zone descriptor extension data to a zone ๐nvme-zns-zone-append(1)โ Appends data and metadata (if applicable) to a zone โ๏ธnvme-zns-zone-mgmt-recv(1)โ Sends the zone management receive command ๐ฅnvme-zns-zone-mgmt-send(1)โ Sends the zone management send command ๐คnvme-zns-zrwa-flush-zone(1)โ Flushes the LBAs associated with a ZRWA to a zone ๐
๐ Plugins/Vendor extension commands ๐
okay bestie, this is the vendor corner of the group chat โ every drive brand showed up with their own little plugin and honestly? obsessed. each one is listed with exactly what it does ๐
nvme amzn id-ctrlโ Sends NVMe Identify Controller, Amazon stylenvme amzn statsโ Gets EBS volume stats ๐nvme-dapustor-smart-log-add(1)โ Retrieves the DapuStor SMART Log, shows itnvme dell id-ctrlโ Sends NVMe Identify Controller, Dell editionnvme dera smart-log-addโ Retrieves the Dera SMART Log, shows itnvme-huawei-id-ctrl(1)โ Huawei identify controller ๐nvme-huawei-list(1)โ Lists all Huawei NVMe devices and namespaces on the machine, the whole lineup ๐nvme ibm crit-logโ Displays IBM Smart Log Informationnvme ibm persist-event-logโ IBM specific Persistent Event Log, the lore but IBM flavorednvme ibm vpdโ Displays IBM VPD Informationnvme innogrit get-cdumpโ gets cdump data ๐ฆnvme innogrit get-eventlogโ gets the event log ๐nvme-inspur-nvme-vendor-log(1)โ Retrieves the Inspur Vendor Log, shows itnvme-intel-id-ctrl(1)โ Sends NVMe Identify Controller, Intel stylenvme-intel-internal-log(1)โ Retrieves the Intel internal firmware log and saves it ๐พnvme-intel-lat-stats(1)โ Retrieves the Intel IO Latency Statistics log, shows it ๐nvme intel lat-stats-trackingโ Enables and disables Latency Statistics logging. on or off, your call ๐nvme-intel-market-name(1)โ Retrieves the Intel Marketing Name log, shows it ๐ท๏ธnvme intel set-bucket-thresholdsโ Sets Latency Stats Bucket Values, and saves it ๐ชฃnvme-intel-smart-log-add(1)โ Retrieves the Intel SMART Log, shows itnvme-intel-temp-stats(1)โ Retrieves the Intel Temperature Statistics log, shows it ๐ก๏ธnvme-mangoboost-id-ctrl(1)โ Sends NVMe Identify Controller, mango mode ๐ฅญnvme memblaze clear-error-logโ Clears the error log ๐งนnvme memblaze get-pm-statusโ Gets Memblaze Power Manager Status โกnvme memblaze lat-get-feature-xโ Gets the Enabled/Disabled state of the Latency Monitor featurenvme memblaze lat-logโ Sets Memblaze High Latency Lognvme memblaze lat-log-printโ Outputs the Memblaze High Latency Log ๐จ๏ธnvme memblaze lat-log-print-xโ Gets the High Latency log and shows itnvme memblaze lat-set-feature-xโ Sets Enable/Disable for the Latency Monitor feature ๐nvme memblaze lat-statsโ Enables and disables Latency Statistics loggingnvme memblaze lat-stats-printโ Retrieves the IO Latency Statistics log, shows it ๐nvme memblaze lat-stats-print-xโ Gets the Latency Statistics log and shows itnvme memblaze perf-stats-print-xโ Gets the Performance Stat log and shows it ๐๏ธnvme memblaze select-downloadโ Selective Firmware Downloadnvme memblaze set-pm-statusโ Sets Memblaze Power Manager Status โกnvme memblaze smart-log-addโ Retrieves the Memblaze SMART Log, shows itnvme memblaze smart-log-add-xโ Retrieves the Memblaze SMART Log, shows it. yes it's basically the same one-liner as above, that's literally what the page says bestie, don't come for me ๐ญnvme micron clear-fw-activate-historyโ Clears FW activation history ๐งนnvme-micron-clear-pcie-errors(1)โ Clears correctable PCIe errorsnvme micron cloud-SSD-plugin-versionโ Displays plugin version info ๐ท๏ธnvme micron cloud-boot-SSD-versionโ Prints HyperScale Boot Versionnvme-micron-id-ctrl(1)โ Identify Controller, Micron flavorednvme micron latency-logsโ Latency log details tracked by the drive ๐nvme micron latency-statsโ Latency information for tracked commands โฑ๏ธnvme micron latency-trackingโ Latency monitoring feature control ๐๏ธnvme micron log-page-directoryโ Retrieves the log page directory ๐nvme micron plugin-versionโ Displays plugin version infonvme-micron-selective-download(1)โ Selective Firmware Downloadnvme-micron-smart-log(1)โ Retrieves SMART/Health Log ๐nvme micron vs-cloud-logโ Retrieves Extended Health Information of the Hyperscale NVMe Boot SSD โ๏ธnvme micron vs-device-wafโ Reports SLC and TLC WAF ratio ๐nvme micron vs-drive-infoโ Retrieves Drive information ๐ท๏ธnvme micron vs-fw-activate-historyโ Displays FW activation history ๐nvme-micron-internal-log(1)โ Retrieves Micron logsnvme-micron-nand-stats(1)โ Retrieves NAND Stats ๐งnvme-micron-pcie-stats(1)โ Retrieves Micron PCIe error statsnvme-micron-smart-add-log(1)โ Retrieves extended SMART datanvme micron vs-smart-ext-logโ Retrieves extended SMART logsnvme micron vs-smbus-optionโ Enables/Disables SMBUS on the drive ๐nvme micron vs-telemetry-controller-optionโ Enables/Disables controller telemetry log generation ๐กnvme-micron-temperature-stats(1)โ Retrieves Micron temperature statistics ๐ก๏ธnvme micron vs-vendor-telemetry-logโ Retrieves Vendor Telemetry logsnvme micron vs-work-load-logโ Retrieves Workload logs ๐ผnvme-netapp-ontapdevices(1)โ NetApp ONTAPdevicesnvme-netapp-smdevices(1)โ NetApp SMdevicesnvme nvidia id-ctrlโ Sends NVMe Identify Controller, NVIDIA edition ๐ฎnvme-ocp-clear-fw-activate-history(1)โ Clears Firmware Update History ๐งนnvme-ocp-clear-pcie-correctable-error-counters(1)โ Clears PCIe Correctable Error Countersnvme-ocp-device-capability-log(1)โ Retrieves the Device Capabilities Log Page ๐nvme-ocp-eol-plp-failure-mode(1)โ Defines the EOL or PLP Circuitry Failure Mode โ ๏ธnvme-ocp-error-recovery-log(1)โ Retrieves the Error Recovery Log Page ๐nvme ocp fw-activate-historyโ Retrieves the Firmware Activation History Log Page ๐nvme-ocp-get-clear-pcie-correctable-errors(1)โ Gets the Clear PCIe Correctable Error Counters Featurenvme-ocp-get-dssd-async-event-config(1)โ Gets the DSSD Asynchronous Event Configuration ๐๏ธnvme-ocp-get-dssd-power-state-feature(1)โ Gets the DSSD Power State Feature โก
okay bestie, next chunk is the plug-in zone โ every vendor out here decided their SSD needed its own โจflavorโจ of log pages, and honestly? iconic of them. here's the whole roster, nobody gets left out:
๐ OCP plug-in ๐
nvme ocp get-enable-ieee1667-siloโ Get Enable IEEE1667 Silo Featurenvme-ocp-get-error-injection(1)โ Get Error Injection Featurenvme-ocp-get-idle-wakeup-time(1)โ Get Idle Wake Up Time Configurationnvme-ocp-get-latency-monitor(1)โ Get Latency Monitor Featurenvme-ocp-get-plp-health-check-interval(1)โ Get PLP Health Check Intervalnvme-ocp-get-telemetry-profile(1)โ Get Telemetry Profile Featurenvme-ocp-hardware-component-log(1)โ Retrieve Hardware Component Log Pagenvme-ocp-internal-log(1)โ Retrieve and Save Internal Device Telemetry Lognvme-ocp-latency-monitor-log(1)โ Retrieve Latency Monitor Log Pagenvme-ocp-persistent-event-log(1)โ Retrieve Persistent Event Log with OCP Eventsnvme-ocp-set-dssd-async-event-config(1)โ Set DSSD Asynchronous Event Configurationnvme-ocp-set-dssd-power-state-feature(1)โ Set DSSD Power State Featurenvme ocp set-enable-ieee1667-siloโ Set Enable IEEE1667 Silo Featurenvme-ocp-set-error-injection(1)โ Set Error Injection Featurenvme ocp set-latency-monitor-featureโ Set Latency Monitor Featurenvme-ocp-set-plp-health-check-interval(1)โ Set PLP Health Check Intervalnvme-ocp-set-telemetry-profile(1)โ Set Telemetry Profile Featurenvme-ocp-smart-add-log(1)โ Retrieve Extended SMART Informationnvme-ocp-tcg-configuration-log(1)โ Retrieve TCG Configuration Log Pagenvme-ocp-telemetry-string-log(1)โ Retrieve Telemetry String Log Pagenvme-ocp-unsupported-reqs-log(1)โ Retrieve Unsupported Requirements Log Page
๐ง Samsung ๐ง
nvme-samsung-vs-internal-log(1)โ Retrieve and save internal firmware log
๐ฆ Seagate ๐ฆ
nvme-seagate-clear-fw-activate-history(1)โ Clear Firmware Activation Historynvme-seagate-clear-pcie-correctable-errors(1)โ Clear Seagate PCIe error statisticsnvme-seagate-cloud-SSD-plugin-version(1)โ Shows OCP Seagate pluginโs version informationnvme-seagate-get-ctrl-tele(1)โ Retrieve Seagate Controller-Initiated Telemetrynvme-seagate-get-host-tele(1)โ Retrieve Seagate Host-Initiated Telemetrynvme-seagate-plugin-version(1)โ Shows Seagate pluginโs version informationnvme-seagate-vs-fw-activate-history(1)โ Retrieve the Firmware Activation Historynvme-seagate-vs-internal-log(1)โ Retrieve Seagate Controller-Initiated Telemetry in binary formatnvme-seagate-vs-log-page-sup(1)โ Retrieve Seagate Supported Log-pages Informationnvme-seagate-vs-pcie-stats(1)โ Retrieve Seagate PCIe error statisticsnvme-seagate-vs-smart-add-log(1)โ Retrieve Seagate extended-SMART Informationnvme-seagate-vs-temperature-stats(1)โ Retrieve Seagate temperature statistics
๐ ScaleFlux (sfx) ๐
nvme sfx change-capโ Dynamic change capacitynvme sfx dump-evtlogโ dump evtlog into file and parse warning & error lognvme sfx expand-capโ expand the last namespace capacity losslessnvme sfx get-bad-blockโ Retrieve bad block table of block device, show itnvme sfx get-featureโ Get a featurenvme sfx lat-statsโ Retrieve ScaleFlux IO Latency Statistics log, show itnvme sfx query-capโ Query current capacity infonvme sfx set-featureโ Set a featurenvme sfx smart-log-addโ Retrieve ScaleFlux SMART Log, show itnvme sfx statusโ Retrieve the ScaleFlux status output, show it
๐ธ Shannon ๐ธ
nvme shannon get-additional-featureโ Get additional Shannon featurenvme shannon id-ctrlโ Retrieve Shannon ctrl id, show itnvme shannon set-additioal-featureโ Set additional Shannon feature (yes bestie, that spelling is literally in the source, we do not fix it, we respect it ๐ )nvme shannon smart-log-addโ Retrieve Shannon SMART Log, show it
๐ Sandisk (sndk) ๐
nvme-sndk-capabilities(1)โ Sandisk Device Capabilitiesnvme-sndk-clear-assert-dump(1)โ Sandisk Clear Assert Dumpnvme-sndk-clear-fw-activate-history(1)โ Sandisk Clear FW Activate Historynvme-sndk-clear-pcie-correctable-errors(1)โ Sandisk Clear PCIe Correctable Error Countnvme-sndk-cloud-SSD-plugin-version(1)โ Sandisk Cloud SSD Plugin Versionnvme-sndk-cloud-boot-SSD-version(1)โ Sandisk Get the Cloud Boot SSD Versionnvme-sndk-cu-smart-log(1)โ Sandisk Get Customer Unique Smart Lognvme-sndk-drive-resize(1)โ Sandisk Drive Resizenvme-sndk-get-dev-capabilities-log(1)โ Sandisk Get Device Capabilities Log Pagenvme-sndk-get-drive-status(1)โ Sandisk Get Drive Statusnvme-sndk-get-error-recovery-log(1)โ Sandisk Get Error Recovery Log Pagenvme-sndk-get-latency-monitor-log(1)โ Sandisk Get Latency Monitor Log Pagenvme-sndk-get-unsupported-reqs-log(1)โ Sandisk Get Unsupported Requirements Log Pagenvme-sndk-log-page-directory(1)โ Sandisk Get Log Page Directorynvme-sndk-namespace-resize(1)โ Sandisk NamespaceDrive Resizenvme-sndk-set-latency-monitor-feature(1)โ Sandisk set Latency Monitor featurenvme-sndk-vs-cloud-log(1)โ Sandisk Get the Cloud Log Pagenvme-sndk-vs-device-waf(1)โ Sandisk Calculate Device Write Amplication Factornvme-sndk-vs-drive-info(1)โ Sandisk Get Drive Infonvme-sndk-vs-error-reason-identifier(1)โ Sandisk Telemetry Reason Identifiernvme-sndk-vs-fw-activate-history(1)โ Sandisk Get FW Activate Historynvme-sndk-vs-hw-rev-log(1)โ Sandisk Get the Hardware Revision Log Pagenvme-sndk-vs-internal-log(1)โ Sandisk Internal Firmware Lognvme-sndk-vs-nand-stats(1)โ Sandisk NAND Statisticsnvme-sndk-vs-pcie-stats(1)โ Sandisk VS PCIE Statisticsnvme-sndk-vs-smart-add-log(1)โ Sandisk Additional Smart Lognvme-sndk-vs-telemetry-controller-option(1)โ Sandisk Enable/Disable Controller Initiated Telemetry Lognvme-sndk-vs-temperature-stats(1)โ Sandisk Get Temperature Stats
๐ซถ Solidigm ๐ซถ
nvme-solidigm-clear-fw-activate-history(1)โ Clear firmware update history log (redirects to ocp plug-in)nvme-solidigm-clear-pcie-correctable-errors(1)โ Clear PCIe Correctable Error Counters (redirects to ocp plug-in)nvme-solidigm-cloud-SSDplugin-version(1)โ Prints plug-in OCP versionnvme-solidigm-garbage-collect-log(1)โ Retrieve Garbage Collection Lognvme-solidigm-id-ctrl(1)โ Send NVMe Identify Controllernvme-solidigm-latency-tracking-log(1)โ Enable/Retrieve Latency tracking Lognvme-solidigm-log-page-directory(1)โ Retrieve log page directorynvme-solidigm-market-log(1)โ Retrieve Market Lognvme-solidigm-parse-telemetry-log(1)โ Parse Telemetry Log binarynvme-solidigm-smart-log-add(1)โ Retrieve Solidigm SMART Lognvme-solidigm-temp-stats(1)โ Retrieve Temperature Statistics lognvme-solidigm-vs-drive-info(1)โ Retrieve drive informationnvme-solidigm-vs-fw-activate-history(1)โ Get firmware activation history log (redirects to ocp plug-in)nvme-solidigm-vs-internal-log(1)โ Retrieve Debug log binariesnvme-solidigm-vs-smart-add-log(1)โ Get SMART / health extended log (redirects to ocp plug-in)nvme-solidigm-workload-tracker(1)โ Real Time capture Workload Tracker samples
๐ ssstc ๐
nvme ssstc smart-log-addโ Retrieve ssstc SMART Log, show it
โญ Toshiba โญ
nvme-toshiba-clear-pcie-correctable-errors(1)โ Clear PCIe correctable error countnvme-toshiba-vs-internal-log(1)โ Get Internal Lognvme-toshiba-vs-smart-add-log(1)โ Extended SMART information
๐ Transcend ๐
nvme-transcend-badblock(1)โ Get NVME bad block numbernvme-transcend-healthvalue(1)โ NVME health percentage
๐ง Virtium ๐ง
nvme-virtium-save-smart-to-vtview-log(1)โ Periodically save smart attributes into a log file. The data in this log file can be analyzed using excel or using Virtiumโs vtView. Visit vtView.virtium.com to see full potential uses of the datanvme-virtium-show-identify(1)โ Shows detail features and current settings
๐ WDC ๐
nvme-wdc-cap-diag(1)โ WDC Capture-Diagnosticsnvme-wdc-capabilities(1)โ WDC Device Capabilitiesnvme-wdc-clear-assert-dump(1)โ WDC Clear Assert Dumpnvme-wdc-clear-fw-activate-history(1)โ WDC Clear FW Activate Historynvme-wdc-clear-pcie-correctable-errors(1)โ WDC Clear PCIe Correctable Error Countnvme-wdc-cloud-SSD-plugin-version(1)โ WDC Cloud SSD Plugin Versionnvme-wdc-cloud-boot-SSD-version(1)โ WDC Get the Cloud Boot SSD Versionnvme-wdc-cu-smart-log(1)โ WDC Get Customer Unique Smart Lognvme-wdc-drive-essentials(1)โ WDC Drive Essentialsnvme-wdc-drive-log(1)โ WDC Drive Lognvme-wdc-drive-resize(1)โ WDC Drive Resizenvme-wdc-enc-get-log(1)โ WDC Get Enclosure Lognvme-wdc-get-crash-dump(1)โ WDC Crash Dumpnvme-wdc-get-dev-capabilities-log(1)โ WDC Get Device Capabilities Log Pagenvme-wdc-get-drive-status(1)โ WDC Get Drive Statusnvme-wdc-get-error-recovery-log(1)โ WDC Get Error Recovery Log Pagenvme-wdc-get-latency-monitor-log(1)โ WDC Get Latency Monitor Log Pagenvme-wdc-get-pfail-dump(1)โ WDC Pfail Dumpnvme-wdc-get-unsupported-reqs-log(1)โ WDC Get Unsupported Requirements Log Pagenvme-wdc-id-ctrl(1)โ WDC identify controllernvme-wdc-log-page-directory(1)โ WDC Get Log Page Directorynvme-wdc-namespace-resize(1)โ WDC NamespaceDrive Resizenvme-wdc-purge(1)โ WDC Purgenvme-wdc-purge-monitor(1)โ WDC Purge Monitornvme-wdc-set-latency-monitor-feature(1)โ WDC set Latency Monitor featurenvme-wdc-vs-cloud-log(1)โ WDC Get the Cloud Log Pagenvme-wdc-vs-device-waf(1)โ WDC Calculate Device Write Amplication Factornvme-wdc-vs-drive-info(1)โ WDC Get Drive Infonvme-wdc-vs-error-reason-identifier(1)โ WDC Telemetry Reason Identifiernvme-wdc-vs-fw-activate-history(1)โ WDC Get FW Activate Historynvme-wdc-vs-hw-rev-log(1)โ WDC Get the Hardware Revision Log Pagenvme-wdc-vs-internal-log(1)โ WDC Internal Firmware Lognvme-wdc-vs-nand-stats(1)โ WDC NAND Statisticsnvme wdc vs-pcie-statsโ WDC VS PCIE Statisticsnvme-wdc-vs-smart-add-log(1)โ WDC Additional Smart Lognvme-wdc-vs-telemetry-controller-option(1)โ WDC Enable/Disable Controller Initiated Telemetry Lognvme-wdc-vs-temperature-stats(1)โ WDC Get Temperature Stats
๐ฆ YMTC ๐ฆ
nvme ymtc smart-log-addโ Retrieve YMTC SMART Log, show it
๐ GLOBAL OPTIONS ๐
okay so these are the big-picture flags โ they live at the top-level nvme command, and every subcommand gets to use them. bestie, they're always there for you ๐ซถ
--dry-runโ shows you the command it would run, then just... doesn't run it. ghosting the actual execution, iconic โจ--no-ioctl-probingโ turns off probing for 64-bit IOCTL support. no cap, that's all it does.--no-retriesโ kills the retry logic on transient errors. one shot, no do-overs ๐-o <fmt>,--output-format=<fmt>โ picks the reporting format:normal,tabular,json, orbinary. only one output format at a time, pick your fighter ๐--output-format-version=<version>โ chooses the output format version. version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. any other version gets rejected โ no vibes allowed ๐ญ--quietโ suppresses informational messages. errors still get reported (we're not hiding the tea), and--quietcancels any--verbosefor the library log level. they literally can't coexist ๐--set-options=<key=value>[,<key=value>...]โ sets libnvme library options just for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. that's the whole list, no extras, periodt.--timeout=<ms>โ sets the command timeout in milliseconds.infiniteor-1waits with no time limit (0xffffffff). the way that's just forever ๐ฐ๏ธ-v,--verboseโ more detail in the output. you can stack it multiple times to get even louder ๐ฅ
and here's the cute part: these can also be set as machine-wide defaults in nvme-cli.conf(5). but a command-line flag always overrides the file. file says one thing, your flag says another, the flag wins, slay ๐
๐ RETURNS ๐
every single command keeps it consistent, fr fr โ returns 0 on success and 1 on failure. that's it. that's the whole vibe check.
๐ธ ENVIRONMENT ๐ธ
NO_COLORโ when it's set to a non-empty value,nvmeprints no colors or bold text. seehttps://no-color.org/for the lore. without it, errors, warnings and headings get highlighted when they go to a terminal โ so pretty โจ
๐ฆ FURTHER DOCUMENTATION ๐ฆ
go look at the freely available references on the Official NVM-Express Site<sup>[1]</sup>. iykyk ๐
๐ AUTHORS ๐
this is written and maintained by Keith Busch<sup>[2]</sup>. king behavior, honestly.
๐ REPORTING BUGS ๐
patches and issues may be submitted to the official repository at https://github.com/linux-nvme/nvme-cli or the Linux NVMe mailing list linux-nvme<sup>[3]</sup>. found something cursed? tell them, don't suffer in silence ๐
โญ NVME โญ
part of the nvme suite. one of many, all together, cute little family ๐
๐ NOTES ๐
- Official NVM-Express Site
http://nvmexpress.org - Keith Busch
mailto:kbusch@kernel.org - linux-nvme
mailto:linux-nvme@lists.infradead.org
and that's a wrap on the whole page, bestie!! ๐งโจ this edition is dated 10/30/2026, from the NVMe source โ version NVME(1), obviously ๐
go forth and query your drives responsibly ๐
๐ฆ where this page comes from
- arch rolling: nvme-cli 3.2-1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms