Users Guide
Broadcom NVMe-FC-120UG-100
36
Emulex NVMe over Fibre Channel User Guide
Support Requirements
Mandatory if the target supports namespace management.
Not supported if namespace management is not supported.
Example
This example deletes a specific namespace:
hbacmd nvme-delete-ns 10:00:00:90:fa:5d:05:a9 50:06:01:60:90:20:5C:38 nqn.2014-
08.com.example:nvme.host.sys.xyz 0x00000001
This example deletes all namespaces:
hbacmd nvme-delete-ns 10:00:00:90:fa:5d:05:a9 50:06:01:60:90:20:5C:38 nqn.2014-
08.com.example:nvme.host.sys.xyz all
4.2.2.11 The nvme-attach-ns Command
The nvme-attach-ns command attaches a namespace to one or more controllers,
Syntax
hbacmd nvme-attach-ns <WWPN> <Target WWPN> <NQN> <NSID> <CtrlID=ctrlid1[,ctrlid2,ctrlidn]>
Parameters
Support Requirements
Mandatory if the target supports namespace management.
Not supported if namespace management is not supported.
Example
hbacmd nvme-attach-ns 10:00:00:90:fa:5d:05:a9 50:06:01:60:90:20:5C:38 nqn.2014-
08.com.example:nvme.host.sys.xyz 0x00000001 ctrlid=0x0001,0x0002
4.2.2.12 The nvme-detach-ns Command
The nvme-detach-ns command detaches a namespace from one or more controllers to which it is attached.
NOTE: Use this command to detach a namespace from its controllers before using the nvme-delete-ns command to
delete the namespace.
NQN The qualified name of the NVMe subsystem.
NSID The namespace identifier to be deleted, in hexadecimal. Set to all to delete all namespaces in the subsystem.
ctrlid The controller that processes the request, in hexadecimal (optional).
WWPN The WWPN of the FC initiator port.
Target WWPN The WWPN of an FC port on an NVMe-capable device.
NQN The qualified name of the NVMe subsystem.
NSID The namespace identifier to be attached, in hexadecimal.
ctrlid1
...
ctrlidn
One or more controller identifiers to which the namespace is to be attached, in hexadecimal. If you are specifying
multiple controllers, use commas to delineate them.