Switching a raw data mapping between physical and virtual compatibility modes in ESX/ESXi
search cancel

Switching a raw data mapping between physical and virtual compatibility modes in ESX/ESXi

book

Article ID: 339865

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article provides steps to switch a Raw Data Mapping (RDM) between physical and virtual compatibility modes without data loss.

Environment

VMware vSphere ESXi 8.x

VMware vSphere ESXi 7.x

VMware vSphere ESXi 6.x

VMware vSphere ESXi 5.x

VMware vSphere ESXi 4.x

VMware vSphere ESXi 3.x

VMware vCenter Server 8.x

VMware vCenter Server 7.x

VMware vCenter Server 6.x

VMware vCenter Server 5.x

VMware vCenter Server 4.x

Resolution

To change an RDM from physical to virtual compatibility mode:

Note: VMware recommends that you backup your configuration before performing these steps.
  1. Power off the virtual machine.
  2. Right-click the virtual machine and click Edit Settings.
  3. Note the SCSI device that the RDM is using (for example, SCSI0:5).
  4. Remove the RDM hard disk from the virtual machine, ensure that the Delete from Disk option is selected, and then click OK.

    Note: Unlike VMDK files, the Delete from Disk option removes only the RDM pointer files. Data on the RDM remains intact.
     
  5. Right-click the virtual machine and click Edit Settings.
  6. Add the RDM back to the virtual machine as a new disk and select virtual compatibility mode (the naming of this option depends on the Esxi/Vcenter version used). Ensure that you use the SCSI device that you noted in step 3.

  7. Power on the virtual machine.

    Note: An RDM can also be changed from virtual compatibility mode to physical compatibility mode. To change from virtual to physical compatibility mode, ensure there are no snapshots and select physical compatibility mode when completing step 6.
Note: If RDMs are bigger than 2TB you must use vSphere Web Client.

Additional Information

For virtual machines that are configured with Microsoft Clustering Services:
  1. Power off both virtual machines.
  2. Right-click the Node B virtual machine and click Edit Settings.
  3. Note the SCSI device that the RDM is using. For example, SCSI 0:5.
  4. Remove the RDM hard disk from the virtual machine, ensure that the Delete from Disk option is not selected, and click OK.
  5. Right-click the Node A virtual machine and click Edit Settings.
  6. Note the SCSI device that the RDM is using. For example, SCSI 0:5.
  7. Remove the RDM hard disk from the virtual machine, ensuring that the Delete from Disk option is selected, and click OK.

    Note: Unlike VMDK files, the Delete from Disk option removes only the RDM pointer files. Data on the RDM remains intact.
     
  8. Right-click the Node A virtual machine and click Edit Settings.
  9. Add the RDM to the virtual machine as a new disk and select virtual compatibility mode (the naming of this option depends on the Esxi/Vcenter version used). Ensure that you use the SCSI device that you need in step 6.
  10. Right-click the Node B virtual machine and click Edit Settings.
  11. Add the RDM back to the virtual machine as an existing disk (use the RDM pointer file created in step 9) and select virtual compatibility mode. Ensure that you use the SCSI device that you need in step 3.
  12. Power on the Node A virtual machine.
  13. Power on the Node B virtual machine.
For information on Configuration Maximums related to Raw Device Mapping, see the VMware vSphere Documentation.
ESX/ESXi の物理互換モードと仮想互換モードの間で生データ マッピングを切り替える
在 ESX/ESXi 中的物理兼容模式和虚拟兼容模式之间切换原始数据映射