Skip to content

Instantly share code, notes, and snippets.

@jpluimers jpluimers/output.txt
Last active Sep 27, 2017

Embed
What would you like to do?
Show SCSI / HBA modules in ESXi 6.5 with file and version information
input file: /usr/lib/vmware/vmkmod/lsi_msgpt3
Version: 12.00.02.00-11vmw.650.0.0.4564106
input file: /usr/lib/vmware/vmkmod/vmw_ahci
Version: 1.0.0-39vmw.650.1.26.5969303
input file: /usr/lib/vmware/vmkmod/vmw_ahci
Version: 1.0.0-39vmw.650.1.26.5969303
input file: /usr/lib/vmware/vmkmod/vmw_ahci
Version: 1.0.0-39vmw.650.1.26.5969303
input file: /usr/lib/vmware/vmkmod/lsi_mr3
Version: 6.910.18.00-1vmw.650.0.0.4564106
input file: /usr/lib/vmware/vmkmod/megaraid_sas
Version: Version 6.603.55.00.2vmw, Build: 4564106, Interface: 9.2 Built on: Oct 26 2016
input file: /usr/lib/vmware/vmkmod/vmkusb
Version: 0.1-1vmw.650.1.26.5969303
MODULES=`esxcfg-scsidevs --hbas | awk 'FNR > 0 {print $2}'`
for MODULE in $MODULES ; do
# echo "Probing $MODULE"
vmkload_mod --showinfo $MODULE | grep 'file: \|Version'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.