Users Guide
Broadcom NVMe-FC-120UG-100
40
Emulex NVMe over Fibre Channel User Guide
5. Navigate to the /subsystems/fctest1/namespaces/1 subdirectory, and set the device path to the backing storage
device you recorded previously in Step 3 in Section A.1, Configuring the lpfc.conf File, by typing the following command:
set device path=/dev/<blockdevice>
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 A.1, Configuring the 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
Information similar to the following is displayed:
Parameter trsvcid is now ‘none’.
The port connection has been created. You can create additional port connections by repeating Step 7 through Step 10
in this section, incrementing the port number each time.
11. Link the port to the subsystem by navigating to the /ports/1/subsystems directory and typing the following
command:
create <subsystem>
where <subsystem> is the same name as the subsystem you created in Step 2 in this section.