VM migration (vMotion or Cold) fails at the compatibility check with the error: Virtual disk 'Hard disk X' is a mapped direct-access LUN that is not accessible.
ESXi
RDM (Raw Device Mapping)
The VM has a Raw Device Mapping (RDM). While the VMFS datastore holding the RDM pointer file is available to the destination, the underlying Physical LUN has not been presented/masked to the destination host or cluster.
esxcli storage core device list -d vml.xxxxxxxxxxxxxxxxxnaa.xxxxxxxxxxxxxx identifier.If the issue persists, file a support request with VMware Support and note this Knowledge Base article ID (429252) in the problem description. For more information, see Creating and managing Broadcom support cases.
This Compatibility alert can also appear if the target host was presented with the RDM LUNs with a different LUN ID.
For more information, see Warning: "Virtual disk 'Hard disk' is a mapped direct-access LUN that is not accessible." while migrating or powering on VM with RDMs attached.