Moving an existing RDM to a different VM

简介:

moveexistingrdm01


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.

moveexistingrdm02


Click Yes to confirm the shut down.

moveexistingrdm03


 

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.

moveexistingrdm04


Identify the RDM hard disk to remove.

moveexistingrdm05


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

moveexistingrdm06


Enable Delete files from datastore option then click OK.

moveexistingrdm07


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

moveexistingrdm08


 

Attach the RDM to the new VM

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

moveexistingrdm09


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

moveexistingrdm10


Click Add button.

moveexistingrdm11


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

moveexistingrdm12


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

moveexistingrdm13


Click OK to save the configuration.

moveexistingrdm14


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

moveexistingrdm15


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.

moveexistingrdm16


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

moveexistingrdm17


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

moveexistingrdm18

As best practice, before moving disks and LUNs be sure to have a full working backup.

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1826023如需转载请自行联系原作者


520feng2007

相关文章
|
7月前
|
Oracle 关系型数据库 Linux
Disable NUMA on database servers to improve performance of Linux file system utilities
Disable NUMA on database servers to improve performance of Linux file system utilities
48 3
|
存储 Linux
Linux - How to Extend/Reduce LVM’s (Logical Volume Management) in Linux
Linux - How to Extend/Reduce LVM’s (Logical Volume Management) in Linux
115 0
解决办法:syslinux:Accessing physical drive
解决办法:syslinux:Accessing physical drive
58 0
解决办法:syslinux:Accessing physical drive

热门文章

最新文章