Mapping A Drive Namespace To A Host; Connecting A Drive To A Linux Host - HPE J2000 Flash Installing And Configuring

Table of Contents

Advertisement

Mapping a drive namespace to a host

Prerequisites
Requires Administrator or Operator privileges
Procedure
1. Navigate to the HOSTS tab.
A list of available hosts is listed with a down arrow located to the right of the Actions column.
2. Click the down-arrow of the host that you want to a drive namespace.
A list of available namespaces is displayed.
3. Select the check boxes next to the namespaces to map them to the host.
4. (Optional) To add or remove an NVMe drive namespace mapping, click the arrow of the host and select or de-select
the drive namespace.
Removing a namespace requires a confirmation.
5. To delete a host with no assigned subsystem NQN, select the host, and then click the Delete icon (red trashcan).
Confirmation is required.

Connecting a drive to a Linux host

For detailed information about the NVMe-CLI, see the following NVM Express-related websites:
https://nvmexpress.org/open-source-nvme-management-utility-nvme-command-line-interface-nvme-cli/
https://nvmexpress.org/education/drivers/open-source-software/
https://github.com/linux-nvme/nvme-cli
Prerequisites
A supported Linux version.
The nvme command, available in the Open Source NVMe Management Utility-NVMe Command Line Interface (NVMe-
CLI).
A HostNQN, which is saved as a default setting in the file /etc/nvme/hostnqn. You can generate a random
HostNQN by entering the following command when logged in as root:
# nvme gen-hostnqn > etc/nvme/hostnqn
The SubsystemNQN, which is displayed in the DRIVES tab of the WebUI.
The Transport type is rdma.
The Transport address is the IP address of the bridge for the drive.
The drive must have at least one namespace that is mapped to a host on the WebUI HOSTS tab.
Procedure
1. Connect a host to drive in slot 1.
# nvme connect -t rdma -a <Bridge-IP-Address> -n nqn.nvme-subsystem:slot01
2. Verify that the drive is connected.
21
Configuration

Advertisement

Table of Contents
loading

Table of Contents