Users Guide
Broadcom NVMe-FC-120UG-100
35
Emulex NVMe over Fibre Channel User Guide
Support Requirements
Mandatory if the target supports namespace management.
Not supported if namespace management is not supported.
Examples
This example shows no optional parameters specified:
hbacmd nvme-create-ns 10:00:00:90:fa:e0:63:48 20:03:00:11:0d:a5:70:00 nqn.2014-08.org.nvmexpress:nvm-
subsystem-sanblaze
The following message is displayed:
Successfully created namespace 0x00000003
This example shows optional parameters specified:
hbacmd nvme-create-ns 10:00:00:90:fa:e0:63:48 20:03:00:11:0d:a5:70:00 nqn.2014-08.org.nvmexpress:nvm-
subsystem-sanblaze CtrlID=0x07 Size=32768 Capacity=32768 LBAF=1 MDT=1 DPS=0x9 NMIC=1
The following message is displayed:
Successfully created namespace 0x00000003
This example shows a generic failure:
hbacmd nvme-create-ns 10:00:00:90:fa:e0:63:48 20:03:00:11:0d:a5:70:00 nqn.2014-08.org.nvmexpress:nvm-
subsystem-sanblaze CtrlID=0x07 Size=32768 Capacity=32768 LBAF=1 MDT=1 DPS=0x1 NMIC=1
Messages similar to the following are displayed:
ERROR: Failed to create namespace
ERROR: <error code>: <specific error message associated with the returned error code>
This example shows an unsupported value for DPS, in a case in which namespaces do not support the transfer of data
protection information as the last 8 bytes of metadata (DPS=0x1):
hbacmd nvme-create-ns 10:00:00:90:fa:e0:63:48 20:03:00:11:0d:a5:70:00 nqn.2014-
08.org.nvmexpress:nvm-subsystem-sanblaze CtrlID=0x07 Size=32768 Capacity=32768 LBAF=1 MDT=1 DPS=0x1
NMIC=1
The following message is displayed:
ERROR: Failed to create namespace. This may be due to one of the following conditions:
-specifying an invalid or unsupported LBA Format
-enabling an unsupported end-to-end data protection setting
ERROR: <825>: Invalid namespace settings.
4.2.2.10 The nvme-delete-ns Command
The nvme-delete-ns command deletes namespaces on NVMe subsystems.
Syntax
hbacmd nvme-delete-ns <WWPN> <Target WWPN> <NQN> <NSID> [CtrlID=<ctrlid>]
Parameters
WWPN The WWPN of the FC initiator port.
Target WWPN The WWPN of an FC port on an NVMe-capable device.