天天看點

Moving an existing RDM to a different VM

Moving an existing RDM to a different VM

Moving an existing RDM from one virtual machine to another some steps are required to avoid data loss and to keep the disk configuration.

The RDM allows a virtual machine to directly access and use the storage device and before proceeding with the move, the virtual machine where the RDM is currently attached must be shut down.

From vSphere Web Client (vSphere 5.5 has been used in the example), right click the VM to process and select Shutdown Guest OS option.

Moving an existing RDM to a different VM

Click Yes to confirm the shut down.

Moving an existing RDM to a different VM

Remove the RDM

From vSphere Web Client, select the VM and click Edit Settings in the VM Hardware area.

Keep in mind this procedure destroys the mapping file, not the LUN content.

Moving an existing RDM to a different VM

Identify the RDM hard disk to remove.

Moving an existing RDM to a different VM

Click on the ‘x’ sign to remove the disk.

Moving an existing RDM to a different VM

Enable Delete files from datastore option then click OK.

Moving an existing RDM to a different VM

Hard disk 2 has been removed from the VM. LUN and its contenut are not altered during this step.

Moving an existing RDM to a different VM

Attach the RDM to the new VM

In the new virtual machine, click Edit Settings under the VM Hardware area.

Moving an existing RDM to a different VM

In the New device field, click the right arrow to open the drop-down menu and select RDM Disk option.

Moving an existing RDM to a different VM

Click Add button.

Moving an existing RDM to a different VM

From the list of SAN disks or LUNs, select the LUN to access directly and click OK.

Moving an existing RDM to a different VM

Click on the just attached New Hard disk and select the appropriate Compatibility Mode (i.e. Physical).

Moving an existing RDM to a different VM

Click OK to save the configuration.

Moving an existing RDM to a different VM

The new RDM disk (Hard disk 2) is now attached to the VM.

Moving an existing RDM to a different VM

Access the processed virtual machine (a Windows VM in the example) and open the Disk Management tool. Right click the new attached disk and select Online option.

Moving an existing RDM to a different VM

The partition previously configured in the old VM is retained and is now available to the new VM.

Moving an existing RDM to a different VM

To check if the RDM move procedure have been completed successfully, try accessing files and folders using Windows Explorer.

Moving an existing RDM to a different VM
RDM