vMotion compatibility for RDM LUNs is dependent on the vml identifier instead of the unique identifier (such as the NAA, EUI, or T10) for the LUN. If the LUN presentation for that LUN is not consistent across all ESX hosts, vMotion compatibility may fail. Cold migration of that virtual machine does not fail.
A vml mismatch can occur, for example, if you present the LUNs as different LUN numbers to the ESX hosts or by presenting the LUN to the second HBA only instead of both HBAs.
Here is an example where the vml's between two hosts do not match:
- How RDM LUNs for virtual machine RDMTest1 are visible on esxhost1:
vml.02000500006006048000019010406353303035344553594d4d4554 -> naa.60060480000190104063533030353445
vml.02000600006006048000019010406353303035344653594d4d4554 -> naa.60060480000190104063533030353446
vml.02000100006006048000019010406353303035353053594d4d4554 -> naa.60060480000190104063533030353530
vml.02000200006006048000019010406353303035353153594d4d4554 -> naa.60060480000190104063533030353531
- How RDM LUNs for the same virtual machine are visible on esxhost2:
vml.02004d00006006048000019010406353303035344553594d4d4554 -> naa.60060480000190104063533030353445
vml.02004e00006006048000019010406353303035344653594d4d4554 -> naa.60060480000190104063533030353446
vml.02004f00006006048000019010406353303035353053594d4d4554 -> naa.60060480000190104063533030353530
vml.02005000006006048000019010406353303035353153594d4d4554 -> naa.60060480000190104063533030353531
Note: You can view this information under /vmfs/devices/disks with the command: ls -la
As you can see from the above example, the red characters indicate the 5th and 6th characters of the vml do not match between the hosts.
Ensure that you present the RDM LUNs by the same LUN number and to all HBAs in a single ESX host.
To resolve this issue:
- Shut down the virtual machine.
- Remove the RDMs from the virtual machine.
- Unpresent the LUNs from the SAN.
- Rescan the storage adapters on each ESX host.
- Represent the LUNs.
Note: Ensure that the RDM LUN is presented to all ESX hosts to which the virtual machine is being vMotioned.
- Rescan the storage adapters on each ESX host.
- Re-add the RDMs to the virtual machine.