Getting IO mismatch errors with a SQL VM when trying to replicate it from on-premises VMware
ESXi 7.x
ESXi 8.X
Need to ensure the sector size of the backing storage devices is the same at both the source and replication site
For ESXi 7.x and 8.x environments the sector size of VM disks are determined by the sector size of the storage device used to back the datastore on which the VM disk resides.
To obtain the sector size format on the backing storage devices run the command:
esxcli storage core device capacity list
Example output:
Device Physical Blocksize Logical Blocksize Logical Block Count Size Format Type
-------------------- ------------------ ----------------- ------------------- ----------- -----------
naa.################ 512 512 2344225968 1144641 MiB 512n
naa.################ 4096 512 3516328368 1716957 MiB 4Kn SWE
naa.################ 512 512 2344225968 1144641 MiB 512n
naa.################ 4096 512 3516328368 1716957 MiB 4Kn SWE
Managing ESXi storage device sector formats
FAQ: Support statement for 512e and 4K Native drives for VMware vSphere and vSAN
Starting with vSphere 9.0, VMs can understands the backend device as 4Kn and send a 4K I/O through the 4Kn virtual disk to the device.