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 controller list |
List all controllers on the device if namespace is not specified, otherwise list all controllers the namespace attached |
- --adapter | -A
- Adapter to operate on (required)
- --namespace | -n
- Namespace ID attached. ID starts from 1
- --help
- Show the help message.
|
nvme device feature cap |
Get NVMe device feature supported capabilities information |
- --adapter | -A
- Adapter to operate on (required)
- --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)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --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)
- --fwnotices | -w
- an asynchronous event notification is sent to the host for a Firmware Activation Starting event, 0 for false, 1 for true, 0 will be passed as default value, if not set
- --nsnotices | -m
- an asynchronous event notification is sent to the host for a Namespace Attribute change, 0 for false, 1 for true, 0 will be passed as default value, if not set
- --save | -S
- save the attribute
- --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 apst get |
Get NVMe device feature autonomous power state transition information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature ar get |
Get NVMe device feature arbitration information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature ar set |
Set NVMe device feature arbitration information |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --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)
- --namespace | -n
- Namespace to operate on
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature er set |
Set NVMe device feature error recovery information |
- --adapter | -A
- Adapter to operate on (required)
- --enable | -e
- deallocated or unwritten logical block error enable value to be set, 0 for false (disable), 1 for true (enable), 0 will be passed as default value, if not set
- --namespace | -n
- Namespace to operate on, 0 will be passed as default value, if not set
- --save | -S
- save the attribute
- --value | -v
- Time limited error recovery value to be set (required)
- --help
- Show the help message.
|
nvme device feature hi get |
Get NVMe device feature host identifier information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature hmb get |
Get NVMe device feature host memory buffer information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature ic get |
Get NVMe device feature interrupt coalescing information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature ic set |
Set NVMe device feature interrupt coalescing information |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --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)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --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)
- --save | -S
- save the attribute
- --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 kat get |
Get NVMe device feature keep alive timer information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature kat set |
Set NVMe device feature keep alive timer information |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --timeout | -t
- timeout value for the keep alive feature to be set (required)
- --help
- Show the help message.
|
nvme device feature lba get |
Get NVMe device feature LBA range type information |
- --adapter | -A
- Adapter to operate on (required)
- --namespace | -n
- Namespace to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --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)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature pm get |
Get NVMe device feature power management information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature pm set |
Set NVMe device feature power management information |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --value | -v
- Power state value to be set (required)
- --workload | -w
- Workload Hint to be set, 0 will be passed as default value, if not set
- --help
- Show the help message.
|
nvme device feature spm get |
Get NVMe device feature software progress marker information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature spm set |
Set software progress marker feature information, will clear Pre-boot Software Load Count (PBSLC) to 0 |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --help
- Show the help message.
|
nvme device feature tt get |
Get NVMe device feature temperature threshold information |
- --adapter | -A
- Adapter to operate on (required)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature tt set |
Set NVMe device feature temperature threshold information |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --sensor | -s
- Threshold temperature select value to be set, 0 will be passed as default value, if not set
- --under | -u
- Set under temperature threshold
- --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)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --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)
- --save | -S
- save the attribute
- --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)
- --select | -S
- specify which value of the attributes to return, "current", "default", "saved"
- --help
- Show the help message.
|
nvme device feature wa set |
Set NVMe device feature write atomicity information |
- --adapter | -A
- Adapter to operate on (required)
- --save | -S
- save the attribute
- --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 |
Commit downloaded firmware image to a specific slot |
- --action | -a
- Activate action 0: Downloaded image replaces the image indicated by the firmware slot field. This image is not activated. 1: Downloaded image replaces the image indicated by the firmware slot field. This image is activated at the next reset. 2: The image specified by the firmware slot field is activated at the next reset. 3: The image specified by the firmware slot field is requested to be activated immediately without reset. (required)
- --adapter | -A
- Adapter to operate on (required)
- --slot | -s
- Slot number. If the value specified is 0, then the controller shall choose the firmware slot. (required)
- --help
- Show the help message.
|
nvme device firmware download |
Download firmware image to the device |
- --adapter | -A
- Adapter to operate on (required)
- --firmware | -f
- Firmware image path (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 attach |
Attach namespace on NVMe device |
- --adapter | -A
- Adapter to operate on (required)
- --controller | -c
- Controller ID to attach. ID starts from 0 (required)
- --namespace | -n
- Namespace ID to attach. ID starts from 1 (required)
- --help
- Show the help message.
|
nvme device namespace create |
Create namespace on NVMe device |
- --adapter | -A
- Adapter to operate on (required)
- --capacity | -c
- Namespace Capacity (required)
- --dps | -p
- End-to-End Data Protection Type Settings (required)
- --flbas | -f
- Formatted LBA Size (required)
- --nmic | -m
- Namespace Multi-path IO and Namespace Sharing Capabilities (required)
- --size | -s
- Namespace Size (required)
- --help
- Show the help message.
|
nvme device namespace delete |
Delete namespace on NVMe device |
- --adapter | -A
- Adapter to operate on (required)
- --namespace | -n
- ID of namespace to delete, starts from 1 (required)
- --help
- Show the help message.
|
nvme device namespace detach |
Detach namespace on NVMe device |
- --adapter | -A
- Adapter to operate on (required)
- --controller | -c
- Controller ID to detach. ID starts from 0 (required)
- --namespace | -n
- ID of namespace to detach. ID starts from 1 (required)
- --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 device register get |
Dump NVMe device registers |
- --adapter | -A
- Adapter to operate on (required)
- --help
- Show the help message.
|
nvme device timeout get |
Get timeout value of IO timeout checker |
- --adapter | -A
- Adapter to operate on (required)
- --help
- Show the help message.
|
nvme device timeout set |
Set timeout value for IO timeout checker |
- --adapter | -A
- Adapter to operate on (required)
- --timeout | -t
- IO timeout seconds for internal checker. Maximum timeout value is 40. 0: disable timeout checker. (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_7: Print split command log BIT_13: Print timeout 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.
|