Broadcom DRVLin-LPe-UG124-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 OneCommand Manager Application .........................................................................................................9
2.5 Installing the NVMe over FC Driver .........................................................................................................................9
2.5.1 Installing the NVMe over FC Driver on the SLES Operating Systems.............................................................10
2.5.2 Installing the NVMe over FC Driver on the RHEL Operating Systems ............................................................10
Chapter 3: Configuration ................................................................................................................. 11
3.1 FC Driver Configuration .........................................................................................................................................11
3.1.1 FC Driver Parameters .....................................................................................................................................11
3.1.1.1 Static FC Driver Parameters.................................................................................................................11
3.1.1.2 Dynamic FC Driver Parameters ............................................................................................................16
3.1.2 Configuring FC Driver Parameters..................................................................................................................19
3.1.2.1 Temporary Configuration with modprobe .............................................................................................19
3.1.2.2 Persistent Configuration with the elx-lpfc.conf File ...............................................................................20
3.1.2.3 Configure Parameters with a Read/Write to sysfs ................................................................................20
3.1.3 Creating a New Ramdisk Image .....................................................................................................................21
3.1.4 Dynamically Recognizing LUNs and Targets (Using Scan)............................................................................21
3.1.5 Persistent Naming...........................................................................................................................................22
3.1.5.1 Using udev to Discover Logical-to-Physical Mappings for sd Devices .................................................22
3.1.5.2 Configuring the System to Boot Using Persistent Names ....................................................................22
3.1.5.3 Using udev with st Devices...................................................................................................................23
3.1.5.4 Persistent Naming References .............................................................................................................25
3.2 vPort Configuration ................................................................................................................................................25
3.2.1 vPort Configuration Prerequisites ...................................................................................................................25
3.2.2 Creating, Deleting, and Displaying vPorts ......................................................................................................25
3.2.2.1 Creating vPorts Using the mkvport.sh Script ........................................................................................26
3.2.2.2 Deleting vPorts Using the rmvport.sh Script .........................................................................................26
3.2.2.3 Displaying vPorts Using the lsvport.sh Script .......................................................................................26
3.2.3 vPort sysfs ......................................................................................................................................................27
3.2.3.1 vPort sysfs Tree....................................................................................................................................27