Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

move virtual hard disk from VM to VM

Posted on 2009-05-19
2
Medium Priority
?
517 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:Jo Cox
2 Comments
 
LVL 19

Expert Comment

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

Accepted Solution

by:
Jo Cox 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

972 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