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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值