esxcli nvme Commands

Command Description Options Help
nvme device get Get NVMe device information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device list List NVMe devices registered to VMware NVMe driver
--help
Show the help message.
nvme device feature aec get Get NVMe device feature async event configuration information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature aec set Set NVMe device feature async event configuration information
--adapter | -A
Adapter to operate on (required)
--value | -v
SMART health critical warnings bitmap to be set, refer to Figure 79, NVMe 1.2 SPEC (required)
--help
Show the help message.
nvme device feature ar get Get NVMe device feature arbitration information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature ar set Set NVMe device feature arbitration information
--adapter | -A
Adapter to operate on (required)
--value | -v
Arbitration Burst value to be set (required)
--value2 | -x
Low Priority Weight value to be set (required)
--value3 | -y
Medium Priority Weight value to be set (required)
--value4 | -z
High Priority Weight value to be set (required)
--help
Show the help message.
nvme device feature er get Get NVMe device feature error recovery information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature er set Set NVMe device feature error recovery information
--adapter | -A
Adapter to operate on (required)
--value | -v
Time limited error recovery value to be set (required)
--help
Show the help message.
nvme device feature ic get Get NVMe device feature interrupt coalescing information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature ic set Set NVMe device feature interrupt coalescing information
--adapter | -A
Adapter to operate on (required)
--value | -v
Aggregation threshold value to be set (required)
--value2 | -x
Aggregation time value to be set (required)
--help
Show the help message.
nvme device feature ivc get Get NVMe device feature interrupt vector configuration information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature ivc set Set NVMe device feature interrupt vector configuration information
--adapter | -A
Adapter to operate on (required)
--value | -v
Interrupt vector value to be set (required)
--value2 | -x
Coalescing disable value to be set, 0 for false (enable), 1 for true (disable) (required)
--help
Show the help message.
nvme device feature nq get Get NVMe device feature number of queue information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature pm get Get NVMe device feature power management information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature pm set Set NVMe device feature power management information
--adapter | -A
Adapter to operate on (required)
--value | -v
Power state value to be set (required)
--help
Show the help message.
nvme device feature tt get Get NVMe device feature temperature threshold information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature tt set Set NVMe device feature temperature threshold information
--adapter | -A
Adapter to operate on (required)
--value | -v
Temperature threshold value to be set (required)
--help
Show the help message.
nvme device feature vwc get Get NVMe device feature volatile write cache information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature vwc set Set NVMe device feature volatile write cache information
--adapter | -A
Adapter to operate on (required)
--value | -v
Volitale write cache enable value to be set, 0 for false (disable), 1 for true (enable) (required)
--help
Show the help message.
nvme device feature wa get Get NVMe device feature write atomicity information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device feature wa set Set NVMe device feature write atomicity information
--adapter | -A
Adapter to operate on (required)
--value | -v
Disable Normal value to be set, 0 for false (enable), 1 for true (disable) (required)
--help
Show the help message.
nvme device firmware activate Activate firmware image in a specific slot
--adapter | -A
Adapter to operate on (required)
--slot | -s
Slot number (required)
--help
Show the help message.
nvme device firmware download Download firmware image to a specific slot
--adapter | -A
Adapter to operate on (required)
--firmware | -f
Firmware image path (required)
--slot | -s
Slot number (required)
--help
Show the help message.
nvme device log error get Get NVMe device error log information
--adapter | -A
Adapter to operate on (required)
--elpe | -e
Error log page entries. This value indicates the number of log entries you wish to get. The maximum number of entries supported is device-specific. (required)
--help
Show the help message.
nvme device log fwslot get Get NVMe device firmware slot log information
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme device log smart get Get NVMe device SMART log information
--adapter | -A
Adapter to operate on (required)
--namespace | -n
Namespace ID. If log page is supported on a per namespace basis this value indicates the ID of namespace you wish to get log from. This parameter can be omitted to request global log page.
--help
Show the help message.
nvme device namespace format Change namespace format
--adapter | -A
Adapter to operate on (required)
--format | -f
LBA Format(LBAF) (required)
--ms | -m
Metadata Settings(MS). 0: Metadata is transferred as part of a separate buffer. 1: Metadata is transferred as part of an extended data LBA. (required)
--namespace | -n
Namespace ID (required)
--pi | -p
Protection Information(PI). 0: Protection information is not enabled. 1: Protection information is enabled, Type 1. 2: Protection information is enabled, Type 2. 3: Protection information is enabled, Type 3. (required)
--pil | -l
Protection Information Location(PIL). 0: PI is transferred as the last eight bytes of metadata, if PI is enabled. 1: PI is transferred as the first eight bytes of metadata, if PI is enabled. (required)
--ses | -s
Secure Erase Settings(SES). 0: No secure erase operation requested. 1: User Data Erase. 2: Cryptographic Erase. (required)
--help
Show the help message.
nvme device namespace get Get nvme namespace information
--adapter | -A
Adapter to operate on (required)
--namespace | -n
ID of namespace to get information from. ID starts from 1 (required)
--help
Show the help message.
nvme device namespace list List namespace on NVMe device
--adapter | -A
Adapter to operate on (required)
--help
Show the help message.
nvme driver loglevel set Set NVMe driver log level and debug level
--debuglevel | -d
Debug level(hex int format). When log level is 5, this value is used to manupulate NVMe driver parameter: nvme_dbg. This parameter can be omitted to indicate value 0. BIT_0: Print ctrlr level log BIT_1: Print namespace level log BIT_2: Print queue level log BIT_3: Print IO command level log BIT_4: Print admin command level log BIT_5: Print management level log BIT_6: Print exception handler log BIT_14: Print init/cleanup log BIT_15: Print temp log BIT_16: Dump SG array BIT_17: Dump PRP BIT_18: Dump cdb BIT_19: Dump NVM command BIT_20: Dump completion queue entry BIT_21: Dump user passthru data BIT_22: Dump namespace info BIT_23: Dump timeout info BIT_24: Dump smart log info
--loglevel | -l
Log level. This value is used to manupulate NVMe driver parameter: nvme_log_level. 1: error 2: warning 3: info 4: verbose 5: debug (required)
--help
Show the help message.