nvme_mi_admin_format_nvm2
Format nvme namespace
Usage
int nvme_mi_admin_format_nvm (nvme_mi_ctrl_t ctrl , struct nvme_format_nvm_args *args );
Arguments
ctrl
|
Controller to send command to |
|---|---|
args
|
Format NVM command arguments |
Overview
Perform a low-level format to set the LBA data & metadata size. May destroy data & metadata on the specified namespaces
Return
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.