Broadcom DRVLin-UG126-100
3
Emulex Drivers for Linux User Guide
Table of Contents
Chapter 1: Introduction ...................................................................................................................... 5
1.1 Overview ....................................................................................................................................................................5
1.2 Abbreviations ............................................................................................................................................................5
Chapter 2: Installing and Uninstalling ..............................................................................................7
2.1 General Installation Requirements..........................................................................................................................7
2.2 Emulex FC Driver Kit ................................................................................................................................................8
2.2.1 Installing the Emulex FC Driver Kit ...................................................................................................................8
2.2.2 Uninstalling the Emulex FC Driver Kit...............................................................................................................9
2.3 Booting from a Nonzero LUN Attached to an Emulex FC Adapter.......................................................................9
2.4 Emulex HBA Manager Application ..........................................................................................................................9
2.5 Updating the Firmware.............................................................................................................................................9
2.6 Installing the NVMe over FC Driver .......................................................................................................................11
2.6.1 Installing the NVMe over FC Driver on SLES Operating Systems..................................................................11
2.6.2 Installing the NVMe over FC Driver on RHEL Operating Systems .................................................................11
Chapter 3: Configuration ................................................................................................................. 12
3.1 FC Driver Configuration .........................................................................................................................................12
3.1.1 FC Driver Parameters.....................................................................................................................................12
3.1.1.1 Static FC Driver Parameters.................................................................................................................12
3.1.1.2 Dynamic FC Driver Parameters............................................................................................................16
3.1.2 Configuring FC Driver Parameters..................................................................................................................21
3.1.2.1 Temporary Configuration with the modprobe Command......................................................................21
3.1.2.2 Persistent Configuration with the elx-lpfc.conf File...............................................................................21
3.1.2.3 Configuring Parameters with a Read/Write to sysfs .............................................................................22
3.1.3 Creating a New Ramdisk Image .....................................................................................................................23
3.1.4 Dynamically Recognizing LUNs and Targets (Using Scan)............................................................................23
3.1.5 Persistent Naming...........................................................................................................................................23
3.1.5.1 Using udev to Discover Logical-to-Physical Mappings for sd Devices .................................................23
3.1.5.2 Configuring the System to Boot Using Persistent Names ....................................................................24
3.1.5.3 Using udev with st Devices...................................................................................................................25
3.1.5.4 Persistent Naming References.............................................................................................................27
3.1.6 ExpressLane Support .....................................................................................................................................27
3.2 vPort Configuration ................................................................................................................................................27
3.2.1 vPort Configuration Prerequisites ...................................................................................................................27
3.2.2 Creating, Deleting, and Displaying vPorts ......................................................................................................28
3.2.2.1 Creating vPorts Using the mkvport.sh Script........................................................................................28
3.2.2.2 Deleting vPorts Using the rmvport.sh Script.........................................................................................28
3.2.2.3 Displaying vPorts Using the lsvport.sh Script .......................................................................................29