Setup Guide

Broadcom OCM-CLI-LPE-UG124-100
78
Emulex OneCommand Manager Command Line Interface User Guide
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
5.13.4 nvme-detach-ns
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.
Supported By
Linux and Windows
Syntax
hbacmd nvme-detach-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-detach-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 A3-45-F7-A7 0x00000001 ctrlid=0x0001,0x0002
5.13.5 nvme-get-feature
The nvme-get-feature command submits an NVMe get-feature command and displays the applicable results. The
results might be the value of the feature, or they might include a feature structure if the feature requires it. Currently, only the
following features are known to return a data structure:
LBA range type
Autonomous power state transition
Host memory buffer
Supported By
Linux and Windows
Syntax
hbacmd nvme-get-feature <WWPN> <Target WWPN> <NQN> <FeatureID> [CtrlID=<ctrlid>][raw]
[Select=<select>] [NSID=<nsid>] [vector=<vector>] [tempSelect=<tempselect>]
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 detached, in hexadecimal.
ctrlid1
...
ctrlidn
One or more controller identifiers from which the namespace is to be detached, in hexadecimal. If you are specifying
multiple controllers, use commas to delineate them.