Chapter 29. Overview of NVMe over fabric devices
Non-volatile Memory Express (NVMe) is an interface that allows host software utility to communicate with solid state drives. Use the following types of fabric transport to configure
NVMe
over fabric devices:
- NVMe over fabrics using Remote Direct Memory Access (RDMA). For information on how to configure NVMe/RDMA, see Section 29.1, “NVMe over fabrics using RDMA”.
- NVMe over fabrics using Fibre Channel (FC). For information on how to configure FC-NVMe, see Section 29.2, “NVMe over fabrics using FC”.
When using FC and RDMA, the solid-state drive does not have to be local to your system; it can be configured remotely through a FC or RDMA controller.
29.1. NVMe over fabrics using RDMA Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
The following sections describe how to deploy an NVMe over RDMA (NVMe/RDMA) initiator configuration.
29.1.1. Configuring an NVMe over RDMA client Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Use this procedure to configure an NVMe/RDMA client using the NVMe management command line interface (
nvme-cli
).
- Install the
nvme-cli
package:yum install nvme-cli
# yum install nvme-cli
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Load the
nvme-rdma
module if it is not loaded:modprobe nvme-rdma
# modprobe nvme-rdma
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Discover available subsystems on the NVMe target:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Connect to the discovered subsystems:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace testnqn with the NVMe subsystem name.Replace 172.31.0.202 with the target IP address.Replace 4420 with the port number. - List the NVMe devices that are currently connected:
nvme list
# nvme list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Optional: Disconnect from the target:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- For more information, see the
nvme
man page and the NVMe-cli Github repository.