N
The Daily Insight

How do I change RDM from physical to virtual?

Author

Sarah Oconnor

Updated on March 03, 2026

Right-click the Node A virtual machine and click Edit Settings. 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).

How do I map a RDM to a VM?

Step 1: To add the disk to the VM, right-click on the VM and select Edit Settings. Step 2: From the Virtual Hardware tab (1), click on Add hard disk and select the Add new RDM disk option (2). Step 3: The non-allocated LUN (or device) should be listed next. Highlight it and press the Select bottom as shown.

How do you expand mapped raw LUN?

Resizing a LUN used by a Raw Device Map (1004456)

  1. Shut down the virtual machine.
  2. Remove the virtual disk associated with the RDM that needs a capacity increase.
  3. On the array, increase the size of the LUN that the RDM pointed to.
  4. Re-add the LUN as an RDM to the virtual machine.
  5. Power on the virtual machine.

How do I assign a LUN to a virtual machine?

vSphere Client

  1. Right-click a VM and choose Edit Settings from the shortcut menu.
  2. On the Hardware tab page, click Add.
  3. Select disks.
  4. Select Raw Device Mappings and click Next.
  5. Select a target LUN and click Next.
  6. Select a datastore.
  7. Select a compatibility mode.
  8. In Advanced Options, use the default virtual device node.

Can you vMotion a VM with physical RDM?

Physical mode RDM data can be migrated to VMDK disks only through cold migration. If you are attempting a Storage vMotion of a virtual mode RDM using the Advanced method, and the RDM pointer mapping file is already present in the target datastore, the Storage vMotion finishes quickly, but without moving the data.

What is the difference between physical and virtual RDM?

Virtual mode is more portable across storage hardware than physical mode, presenting the same behavior as a virtual disk file. You can use this mode for both Cluster-in-a-box and cluster-across-boxes. To expand the size of the RDM, see Expanding the size of a Raw Device Mapping (RDM) (1007021).

How do you attach a LUN to a VM?

Verify that the naa ID has a corresponding new naa ID in the LUN WWID column of the mapping file. This is the new clustered Data ONTAP LUN naa ID. Use the clustered Data ONTAP LUN naa ID from the LUN WWID column and the disk path details to reattach the clustered Data ONTAP LUN to the VM.

How do I extend a raw device mapping?

To safely expand the RDM:

  1. Expand the RDM LUN from the SAN side.
  2. Perform rescan on the ESX and verify the new LUN size is observed.
  3. svMotion the RDM pointer files or recreate the RDM mapping with the following steps to update the mapped disk size:
  4. Perform a re-scan from the guest operating system.

Where is LUN ID in virtual machine?

  1. In vSphere, select the host configuration tab, storage.
  2. Select the Devices View.
  3. Sort by LUN # and locate the LUN you want to verify.
  4. Right click the LUN in the Devices list and select “Copy identifier to clipboard”
  5. Copy the converted string and paste to a work note.

What is VMware RDM (raw device mapping)?

As we already discussed many times, VMware RDM (Raw device mapping) is a mapping file that provides direct access to a LUN on the fiber channel storage system for a virtual machine. There are two types of RDM Disks ( Virtual Compatibility RDM and Physical Compatibility RDM ).

How to convert the physical Lun to VMDK during P2V migration?

You can convert the physical RAW LUN to VMDK during P2V migration using VMware Converte r. You can modify the destination virtual machine disk layout for the respective physical LUN attached to the windows server. In my below example, 1 TB drive is actually consuming 7.75 GB out of 1 TB.

How to covert RDM to VMDK in VMware virtual machine?

Select the Compatibility Mode as “Virtual” and click Ok. Once the same RAW Lun is added back as virtual RDM, you can select disk format as Thin or Thick during storage vMotion to convert Physical RDM disk to VMDK without powering off the virtual machine. I hope we are now clear on how to covert RDM to VMDK in VMware virtual machine.

How do I cold migrate a virtual machine without converting RDMS?

If you want to cold migrate a virtual machine without cloning or converting its RDMs, remove them from the configuration of the virtual machine before migrating. You can delete the RDM from the disk when removing it (the raw LUN contents are not changed). Re-add them to the configuration when completed.