nvme_mi_admin_format_nvm - Man Page
Format NVMe namespace
Synopsis
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
Description
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.
Info
August 2024 libnvme API manual