Solved

move virtual hard disk from VM to VM

Posted on 2009-05-19
2
510 Views
Last Modified: 2013-11-14
Hi
I have two distinct networks Live and disaster recovery.

I use the DR for some testing mainly exchange and frequently have to move an 80gb file between the two networks.

So i use a virtual xp box with 100 gig disk that is only used for this purpose. Copy the file on, move the PC to the DR network and copy off.

But it would be much easier if I could just unplug the virtual 100gb disk from the XP box and plug it on to my Exchange server. Saves doing the second copy routine.

Does anyone know if one can do this....and obviously how.
TIA
JO
0
Comment
Question by:jrb139
2 Comments
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24425177
Where is the XP VMDK file stored ?
0
 

Accepted Solution

by:
jrb139 earned 0 total points
ID: 24430841
Ok I solved this myself.
I just copied this section from the vmx file of the source virtual machine and pasted to the destination vmx file.
It moaned about different drive types but offered to automatically correct the problem and seemed to get it right as the disk appeared and I could access the data.

Obviously you have to look a little at the scsi numbering otherwise you may be telling your destination machine that you have the same disk/lun/id twice so apply a little intelligence as to what you are going to paste in but the principal works.
Ta
Jo

scsi0:2.present = "TRUE"
scsi0:2.deviceType = "scsi-hardDisk"
scsi0:2.filename = "/vmfs/volumes/49959021-da3682ac-2f36-0022642aa218/Mini-XP/Mini-XP_1.vmdk"
scsi0:2.mode = "persistent"
scsi0:2.redo = ""
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question