nvme_ns_mgmt_delete - Delete a non attached namespace
Contents
Arguments
fd File descriptor of nvme device
nsid Namespace identifier to delete
Description
It is recommended that a namespace being deleted is not attached to any controller. Use the
nvme_ns_detach_ctrls first if the namespace is still attached.
Name
nvme_ns_mgmt_delete - Delete a non attached namespace
Return
The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set
otherwise.
August 2025 nvme_ns_mgmt_delete nvme_ns_mgmt_delete(2)
Synopsis
intnvme_ns_mgmt_delete(intfd,__u32nsid);
