Solved

move virtual hard disk from VM to VM

Posted on 2009-05-19
2
513 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
A look at what happened in the Verizon cloud breach.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

628 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