When powering on a Windows virtual machine using EFI from an Dell EMC PowerStore and EMC XtremIO storage arrays, you see these events:
esxcli system settings advanced list -o "/Disk/DiskMaxIOSize"
command on the host containing the virtual machine reports the default disk IO block size:Path: /Disk/DiskMaxIOSize
Type: integer
Int Value: 32767
Default Int Value: 32767
Min Value: 32
Max Value: 32767
String Value:
Default String Value:
Valid Characters:
Description: Max Disk READ/WRITE I/O size before splitting (in KB)
VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.7
VMware vSphere ESXi 6.5
VMware vSphere ESXi 5.5
DiskMaxIOSize
in ESXi is 32767 (32 MB). Even if the storage array reports a different block size to the host, ESXi continues to use the default DiskMaxIOSize
of 32 MB. Because of this, block transfers between the virtual machine and the storage array may be interrupted or incomplete.The result is that the virtual machine may fail to boot using EFI.To download patches go to Broadcom Support
Workaround:
DiskMaxIOSize
parameter on each host that sees the storage array's LUNs to the IO block size value advertised by the array.DiskMaxIOSize
parameter:DiskMaxIOSize
parameter to 1 MB (for PowerStore) and 4 MB(for XtremIO) by running this command:esxcli system settings advanced set -o "/Disk/DiskMaxIOSize" --int-value 1024
For XtremIO:
esxcli system settings advanced set -o "/Disk/DiskMaxIOSize" --int-value 4096
esxcli system settings advanced list -o "/Disk/DiskMaxIOSize"
Path: /Disk/DiskMaxIOSize
Type: integer
Int Value: 1024 (for PowerStore) or 4096(for XtremIO)
Default Int Value: 32767
Min Value: 32
Max Value: 32767
String Value:
Default String Value:
Valid Characters:
Description: Max Disk READ/WRITE I/O size before splitting (in KB)
Alternatively, you can reduce the size of the IO requests passed to the storage device using the VMware vSphere Client program:
Disk.DiskMaxIOSize
value to 1024 (for PowerStore) or 4096(for XtremIO).Note: You can change this setting without rebooting the host or putting it in the maintenance mode.
Impact/Risks:
If there are other devices on the host which are capable of servicing large IOs, the IOs to these devices will also be split as per DiskMaxIOSize setting and can affect all VMs on the ESXi host and possibly affect the performance