Created
December 9, 2016 17:27
-
-
Save jeffgreenca/a5167d8d98f963be7e9bf777fd861fb1 to your computer and use it in GitHub Desktop.
Set ESXi 6.0 Disk.MaxLun See https://kb.vmware.com/kb/1998
This file contains hidden or 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
#Reduces the Disk.MaxLun on all connected ESXi hosts, as a workaround to an incorrect PDL error with ESXi 6.0+ and HPE 3PAR. | |
#Works by reducing the Disk.MaxLun below the 3PAR PE LUN 256, thus the PE LUN is not scanned and will not throw an unexpected PDL. | |
Get-VMHost | % { Get-AdvancedSetting -Entity $_ -Name "Disk.MaxLUN" | Set-AdvancedSetting -Value 255 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment