Last active
September 27, 2017 21:31
-
-
Save jpluimers/d281de3293bfb10dfd8980a7fee914f5 to your computer and use it in GitHub Desktop.
Show SCSI / HBA modules in ESXi 6.5 with file and version information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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