Users Guide

Broadcom NVMe-FC-120UG-100
34
Emulex NVMe over Fibre Channel User Guide
Vendor-specific data bytes:
Byte Dump
0180: 03 04 07 00 00 00 00 60 40 0c 70 06 8c 0a 00 00
0190: 04 02 00 0a 45 4d 55 4c 45 58 20 20 20 20 20 20
01A0: 20 20 20 20 00 00 17 6a 41 46 42 52 2d 35 37 46
01B0: 35 4d 5a 2d 45 4c 58 20 20 20 20 20 52 03 00 48
01C0: 00 3a 00 00 41 41 31 32 32 31 4a 30 43 32 50 20
01D0: 20 20 20 20 31 32 30 35 32 38 20 20 68 fa 05 3a
01E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
…………: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
…………: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
…………: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0FF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
4.2.2.9 The nvme-create-ns Command
The nvme-create-ns command creates namespaces on an NVMe subsystem. The command issues the NVMe
namespace management command to create the namespace and return the results.
Syntax
hbacmd nvme-create-ns <WWPN> <Target WWPN> <NQN> [CtrlID=<ctrlid>] [Size=<size>] [Capacity=<capacity>]
[LBAF=<lbaf>] [MDT=<mdt>][DPS=<dps>] [NMIC=<nmic>]
Parameters
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.
ctrlid The controller that processes the request, in hexadecimal.
size The namespace size in logical blocks, in decimal (optional).
capacity The namespace capacity, in decimal. This value is the maximum number of logical blocks that you can allocate.
lbaf The LBA format to be used for the namespace (optional).
mdt The parameter that selects the metadata transfer mechanism (optional):
0 = Transfer metadata as a separate contiguous buffer of data
1 = Transfer metadata at the end of data LBA
dps The end-to-end data protection type settings, in hexadecimal (optional):
0x0 = Protection information is not enabled.
0x1 = Protection information is enabled and transferred as the last 8 bytes of metadata, Type 1.
0x2 = Protection information is enabled and transferred as the last 8 bytes of metadata, Type 2.
0x3 = Protection information is enabled and transferred as the last 8 bytes of metadata, Type 3.
0x9 = Protection information is enabled and transferred as the first 8 bytes of metadata, Type 1.
0xA = Protection information is enabled and transferred as the first 8 bytes of metadata, Type 2.
0xB = Protection information is enabled and transferred as the first 8 bytes of metadata, Type 3.
nmic The namespace multipath and sharing capabilities (optional):
0 = Multipath disabled. Namespace is private to one controller.
1 = Multipath enabled. Two or more controllers might have access to the namespace.