Migrating a virtual machine with one or more RDMs attached fails with the error: Target disc should be different than the source disc, unable to access file
search cancel

Migrating a virtual machine with one or more RDMs attached fails with the error: Target disc should be different than the source disc, unable to access file

book

Article ID: 309797

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction


Symptoms:
  • Attempting to migrate a virtual machine using vMotion with one or more Raw Device Mappings (RDMs) attached fails.
  • You see the error:

    Target disc should be different than the source disc, unable to access file


Environment

VMware vCenter Server 5.1.x
VMware vCenter Server 6.x
VMware vCenter Server 7.0.x
VMware vCenter Server 6.0.x

Cause

This issue occurs because the RDM LUN is not visible on the target host.

If the RDM LUN is visible, but it does not always present to the target host, you may see the error:

Virtual Disk 'X' is a mapped direct access LUN that is not accessible

Resolution

To resolve this issue, configure your storage to allow access for the target host(s) to the RDM LUN(s), and use the rescan command to mount the RDM to the host(s) which did not previously have access to the RDM. For more information, see Performing a rescan of the storage on an ESX/ESXi host (1003988). Ensure all hosts see the same LUN ID and VML ID for the RDM LUN(s).

Note: If necessary, contact your storage administrator or storage vendor for instructions on this procedure.


Additional Information