Users Guide
Table Of Contents
- Table of Contents
- Chapter 1: Introduction
- Chapter 2: Installing and Uninstalling
- Chapter 3: Configuration
- 3.1 FC Driver Configuration
- 3.2 vPort Configuration
- 3.3 FC Driver Performance Tuning
- Chapter 4: Configuring NVMe over FC
- Chapter 5: Troubleshooting
- Appendix A: FCP Driver BlockGuard Functionality
- Appendix B: Configuring NVMe over FC on a Target
- Appendix C: Native NVMe Multipathing
- Appendix D: Trunking Support
- Appendix E: FC-SP-2 Authentication (DH-CHAP) Support
- Appendix F: ARM Support
Broadcom DRVLin-UG128-100
35
Emulex Drivers for Linux User Guide
2. Reboot the system.
After the system is rebooted, the configured protocols are enacted on the FC ports.
The nvmefc-connect.rpm file, which is installed with the out-of-box Linux driver, automatically causes the initiator to
connect to the target devices. Connections are established whenever any of the following events occur, as long as the
target is running:
– A host system reboot
– A linkup event on the initiator port
– A fabric zone event
After configuring the initiator, you can run the nvme_info command to verify that your configuration is working by typing
the following command on the initiator:
cat /sys/class/scsi_host/host<X>/nvme_info
where <X> is the host number.
Information similar to the following is displayed:
NVME Initiator Enabled
XRI Dist lpfc0 Total 6144 IO 5894 ELS 250
NVME LPORT lpfc0 WWPN x10000090fa9429e4 WWNN x20000090fa9429e4 DID x011d00 ONLINE
NVME RPORT WWPN x10000090fa942f0c WWNN x20000090fa942f0c DID x010a00 TARGET DISCSRVC ONLINE
NVME Statistics
LS: Xmt 0000000348 Cmpl 0000000348 Abort 00000000
LS XMIT: Err 00000000 CMPL: xb 00000000 Err 00000000
Total FCP Cmpl 00000000000019cb Issue 00000000000019cf OutIO 0000000000000004
abort 00000000 noxri 00000000 nondlp 00000000 qdepth 00000000 wqerr 00000000 err 00000000
FCP CMPL: xb 00000010 Err 00000015
3. If multipathing is used in SLES 15 SP1 or SLES 15 SP2, skip to Step 4. For operating systems with a single path, use
the nvme list command to display target connections by typing the following command on the initiator:
nvme list
NOTE: There are two similar commands to list all NVMe namespace devices:
nvme list (with a space) is a native NVMe CLI command.
nvme-list-linux (with a hyphen) is an Emulex HBA Manager CLI command.
This chapter refers to the nvme list command.
Information similar to the following is displayed:
Skip to Step 5.
4. For multipathing in SLES 15 SP1 or SLES 15 SP2, type the following command to display target connections on the
initiator:
nvme list-subsys
Node SN Model Namespace Usage Format FW Rev
------------- ----------------- ------ ---------- ----------------------- --------------- ---------
/dev/nvme0n1 981fadb118adb0fa Linux 1 268.44 GB / 268.44 GB 512 B + 0 B 4.4.70-2
/dev/nvme0n2 981fadb118adb0fa Linux 2 268.44 GB / 268.44 GB 512 B + 0 B 4.4.70-2