Home > ESX, Storage, VMware > Set verbose logging on Emulex Driver in ESX 3.5

Set verbose logging on Emulex Driver in ESX 3.5

If you’re troobleshooting SAN/HBA issues, it might come in handy to enable verbose logging on your Emulex HBA driver.

Run the following command to list the drivername

vmkload_mod -l | grep lpfc

image

The HBA driver is our case is lpfc_740 (lpfc stands for LightPulse Fibre Channel and 740 is the version number)

List the current options for the driver by entering

esxcfg-module -g lpfc_740

image

Run the following command to set the verbose logging option:

esxcfg-module -s lpfc_log_verbose=0xffff lpfc_740

You can run the esxcfg-module –g lpfc_740 command again to verify the settings:

image

Make the change (re)boot persistent

esxcfg-boot -b

Reboot your host (make sure no VM’s are running)

reboot

If you now check your vmkernel logfile (/var/log/vmkernel), you will see a LOT of entries from your HBA driver.

 

After you have done your stuff, make sure to disable to logging by running (basically, you will remove the lpfc_log_verbose option from the driver loading module)

esxcfg-module –s ‘’ lpfc_740

esxcfg-boot -b

reboot

After the reboot, open up your vmkernel logfile and verify the HBA driver entries no longer appear.

About these ads
Categories: ESX, Storage, VMware
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 80 other followers

%d bloggers like this: