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
108
Emulex Drivers for Linux User Guide
3. Navigate to the /subsystems/fctest1 subdirectory, and set the allow_any_host parameter to 1, by typing the
following command:
set attr allow_any_host=1
4. Navigate to the /subsystems/fctest1/namespaces subdirectory, and create namespace 1 by typing the following
command:
create 1
5. Navigate to the /subsystems/fctest1/namespaces/1 subdirectory, and set the device path to the backing storage
device that you recorded previously in Step 3 in Appendix B.1, Configuring the elx-lpfc.conf File, by typing the following
command:
set device path=/dev/<block_device>
<block_device> can be a SCSI disk or an NVMe disk.
For example:
set device path=/dev/sde
Information similar to the following is displayed:
Parameter path is now ‘/dev/sde’.
NOTE: This step causes the namespace to use the specified backing storage device, which already exists, as its storage
media.
6. Enable namespace 1 by typing the following command:
enable
Information similar to the following is displayed:
The Namespace has been enabled.
The target NVMe over FC subsystems and namespaces have been created. You can create and enable additional
namespaces by repeating Step 4 through Step 6 in this section, incrementing the namespace number each time.
7. After you have created all of the namespaces, navigate to the /ports directory and create a link to the desired port (in
this case, Port 1) by typing the following command:
create 1
8. Navigate to the /ports/1 subdirectory, and set the NVMe type (the trtype and adrfram parameters) to fc:
a. Type the following command:
set addr trtype=fc
Information similar to the following is displayed:
Parameter trtype is now ‘fc’.
b. Type the following command:
set addr adrfam=fc
Information similar to the following is displayed:
Parameter adrfam is now ‘fc’.
9. Set the network address (the traddr parameter) to the WWNN and WWPN of the target HBA obtained in Step 1 and
Step 2 in Section B.1, Configuring the elx-lpfc.conf File, by typing the following command:
set addr traddr=nn-<WWNN1>:pn-<WWPN1>
For example:
set addr traddr=nn-0x20000090fa931110:pn-0x10000090fa931110
Information similar to the following is displayed:
Parameter traddr is now 'nn-0x20000090fa931110:pn-0x10000090fa931110'
10. Set the transport service ID (the trsvcid parameter) to none by typing the following command:
set addr trsvcid=none