1nvme_ns_mgmt_delete(9) libnvme API manual nvme_ns_mgmt_delete(9)
2
3
4
6 nvme_ns_mgmt_delete - Delete a non attached namespace
7
9 int nvme_ns_mgmt_delete (int fd , __u32 nsid );
10
12 fd File descriptor of nvme device
13
14 nsid Namespace identifier to delete
15
17 It is recommended that a namespace being deleted is not attached to any
18 controller. Use the nvme_ns_detach_ctrls first if the namespace is
19 still attached.
20
22 The nvme command status if a response was received (see enum nvme_sta‐
23 tus_field) or -1 with errno set otherwise.
24
25
26
27October 2023 nvme_ns_mgmt_delete nvme_ns_mgmt_delete(9)