Show FC module on ESXi and load it

Reading Time: < 1 minute

Some times we need to find, what are the driver modules loaded in the VMkernel, for example the ethernet and fiber channel HBA adapters driver modules. Some times we need to find the driver version, features and capabilities of the driver and its associated device. And many times we need set or change some advance parameters like

– Queue Depth for QLogic and Emulex HBAs

– Flow Control in network interface

Usage: esxcfg-module  <options>  <module>

-g         Get the options for a given module and whether it is loaded on boot.

-s         Set the options for a given module.

-e         Enable a given module, indicating it should be loaded on boot.
-d        Disable a given module, indicating it should not be loaded on boot.
-q        Query enabled modules options.

-u        Unload a module.

-l         List all loaded modules.
-I         Show Module Info.

 

1, Listing all modules on an ESX/ESXi 3.x, 4.x and 5.x:

To list all the modules currently loaded on an ESX/ESXi host:

esxcfg-module -l | grep <module name>

or simply

esxcfg-module -l | less (you can scroll up and down)

OR
vmkload_mod  -l | grep <module name>

or

vmkload_mod -l | less

 

 

2, In ESXi/ESX 3.5:

  • The QLogic modules are:
    • For FC: qla2300_707_vmw.o
    • For iSCSI: qla4010.o
    • For iSCSI: qla4022.o
  • The Emulex module is:
    • lpfc_740.o

In ESXi/ESX 4.x/5.x:

  • The QLogic modules are:
    • For FC: qla2xxx.o or qlnativefc (5.5)
    • For iSCSI: qla4xxx.o
  • The Emulex module is:
    • lpfc820.o
Check Out koodzo.com!