Setup Guide
Broadcom OCM-CLI-LPE-UG124-100
89
Emulex OneCommand Manager Command Line Interface User Guide
NOTE: If the raw parameter is not specified, the output displays only a few namespace attributes, in human-readable
format. If the raw parameter is specified, the entire data structure is displayed in hexadecimal format.
Support Requirements
Mandatory for nvme-id-ns WWPN TWWPN NQN NSID 0 [CtrlID=<ctrlid>] (identify active namespace)
Optional for nvme-id-ns WWPN TWWPN NQN NSID 1 [CtrlID=<ctrlid>] (identify allocated namespace)
Examples
This example identifies active namepaces:
hbacmd nvme-id-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 0
Information similar to the following is displayed:
Attributes for Namespace 0x00000001:
IEEE Extended Unique Identifier : 00-00-00-00-00-00-00-00
Size : 32768 (Logical Blocks)
Capacity : 32768 (Logical Blocks)
Usage : 32768 (Logical Blocks)
Logical Block Size : 512 Bytes
Multi-path Access : Yes
LBA Format : 0
Number of Supported LBA Formats : 0
End-to-end Data Protection : Disabled
Reservations : Not Supported
Namespace Features:
Thin Provisioning : Not Supported
Unwritten Logical Block Error: Not Supported
NAWUN, NAWUPF, NAWCWU : Not Supported
End-to-end Protection Capabilities:
Protection Information Type 1: Supported
Protection Information Type 2: Supported
Protection Information Type 3: Supported
This example identifies allocated namespaces:
hbacmd nvme-id-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 1
Information similar to the following is displayed:
Attributes for Namespace 0x00000001:
NSID The namespace identifier, in hexadecimal; use it to list only controllers attached to the specified namespace. Set to
0xFFFFFFFF to retrieve capabilities that are common across all namespaces.
Type The namespace identifier type:
0 = Active
1 = Allocated
Must be set to 0 if NDSID=0xFFFFFFFF.
ctrlid The controller that processes the request, in hexadecimal.
raw Specifies that the output is to be provided in hexadecimal format (optional).