Users Guide

Broadcom NVMe-FC-120UG-100
31
Emulex NVMe over Fibre Channel User Guide
This example shows allocated namespace identifiers selected:
hbacmd nvme-list-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 1
Information similar to the following is displayed:
Allocated Namespaces:
Namespace ID : 0x00000003
Namepsece ID : 0x00000004
4.2.2.8 The nvme-id-ns Command
The nvme-id-ns command sends the NVMe identify command for a namespace and displays the results. In addition,
if namespace management is supported, the command can retrieve capabilities that are common across all namespaces.
Syntax
hbacmd nvme-id-ns <WWPN> <Target WWPN> <NQN> <NSID> <Type> [CtrlID=<ctrlid>] [raw]
Parameters
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)
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, 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).