Moving an existing RDM to a different virtual machine
search cancel

Moving an existing RDM to a different virtual machine


Article ID: 342552


Updated On:


VMware vSphere ESXi


This document provides steps to migrate an existing RDM from one virtual machine to another.


VMware vSphere ESXi 6.0
VMware vSphere ESXi 5.1
VMware vSphere ESXi 5.0
VMware vSphere ESXi 6.5
VMware vSphere ESXi 5.5


To migrate an RDM to a new Virtual machine:
  1. Shut down the guest virtual machine where the RDM is currently attached.
  2. Remove the RDM from the virtual machine:
    1. Click Edit Settings
    2. Select the RDM hard disk
    3. Click Remove. Select Delete from disk if it is not already selected
    4. Click OK.
    Note: This destroys the mapping file, but not the LUN content.
  3. Present LUN to the new virtual machine as an RDM using this procedure:
    1. On the Select a Disk page of the New Virtual Machine wizard (or the Add Disk page of the Edit Settings wizard), select Raw Device Mapping and click Next.
    2. From the list of SAN disks or LUNs, select a LUN for your virtual machine to access directly and click Next.
    3. Select a datastore for the LUN mapping file and click Next.
      Note: You can place the RDM file on the same datastore where your virtual machine configuration file resides, or select a different datastore.
    4. Select the appropriate compatibility mode and click Next.
    5. Accept the default virtual device node.
    6. Click Next. Your changes are recorded.
    7. The Ready to Complete page opens. Click Finish.
For a more detailed procedure, see Add an RDM Disk to a Virtual Machine in the vSphere Client in Creating a Virtual Machine in the vSphere Client.

Additional Information

How to remove a Hard disk or RDM from a powered on virtual machine
既存の RDM の別の仮想マシンへの移動
将现有 RDM 移动到其他虚拟机