To increase the logging verbosity from Broadcom IT/IR HBA drivers:
- Identify the megaraid driver that is in use.
- Increase the logging level of the driver.
To identify the megaraid driver that is in use:
Run this command:
esxcli storage core adapter list
Example output:
vmhba3 lsi_msgpt3 link-n/a sas.500605b005edc590 (0000:02:00.0) Avago (LSI Logic) / Symbios Logic Avago (LSI)3008
Options to increase driver verbosity exist only for these drivers:
- lsi_msgpt3
- mpt2sas
- mpt3sas
Increasing the logging level of the driver
First, find the current logging level using this command:
esxcli system module parameters list -m lsi_msgpt3
Note: You may need to replace lsi_msgpt3 if your driver is one of the others.
If the resulting logging level is different than the following logging level, run this command to increase the verbosity of the driver logs.
esxcli system module parameters set -p logging_level=0x3f8 -m lsi_msgpt3
The result of this command is that there will be more verbose logging messages in vmkernel.log to assist with troubleshooting purposes.
Important: After you have completed your troubleshooting, revert the logging level back to logging_level=0 after the relevant troubleshooting data has been captured to avoid flooding the vmkernel logs.
To revert the logging level to 0, run this command:
esxcli system module parameters set -p logging_level=0 -m lsi_msgpt3