Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Restore missing vhd-parent in a XenServer virtual machine

Posted on 2014-01-09
8
Medium Priority
?
2,125 Views
Last Modified: 2014-02-09
Hallo


My question:

Is it possible to extract a .vhd virtual disk from a .xva export created in XenServer (V5.6)?


Situation:

The original VM was stored in two .vhd files; the first (vhd-parent) is RO and is unchanged since 2010, the other is RW and contains all the changes since.

The vhd-parent has been accidentally deleted.

Since I have an .xva export of the VM from 2012, it should contain the segment that I need

By importing the .xva in a new VM, though, the content is merged in a single .vhd file and the changes can't be applied.


Thank you.
Roberto C.
0
Comment
Question by:helpdti
[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
  • 4
  • 3
8 Comments
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 39770702
You can use XenConvert to achieve your goal of converting .XVA to .VHD. To convert a .XVA created on XenServer 5.6 you will require XenConvert 2.4.1 (the latest is 2.5).

To get XenConvert visit this link:

http://www.citrix.com/downloads/xenserver/tools/conversion.html

For more info on how to do the conversion visit this link:
http://www.mytechrants.com/converting-citrix-xva-file-to-microsoft-hyper-v-vhd/

But how to really extract the RO part out of it is something I don't think is possible.
0
 

Author Comment

by:helpdti
ID: 39771840
Thanks for the answer

Unfortunately the .vhd obtained as a result of the conversion can't be paired to the .vhd, that contains the changes, so I'm left with the old data.

What I don't understand is that I deleted the read-only file in October, and the VM continued to work fine until last Monday, when it was rebooted.

Is it possible that the second .vhd must exist as a requirement, but doesn't containd any important data?
0
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 39775295
Do you mean the RW? Well without it, you don't get personalized settings presented saved as long as the VM is up.

How are you presented with these .vhd? Is it through SAN? Then you might ask your storage admin to restore you the RO .vhd from a certain date.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:helpdti
ID: 39775946
I meant the read-only file. The VM continues to work fine without it, until rebooted.

No backup available other that the exported machine a year ago.
0
 
LVL 23

Assisted Solution

by:Ayman Bakr
Ayman Bakr earned 750 total points
ID: 39782750
As far as I know, I don't think it is possible to split the file into its two .vhd constituents. Maybe you can raise a flag for calling other experts to help.
0
 

Accepted Solution

by:
helpdti earned 0 total points
ID: 39783035
I found a solution.

I was finally able to pair the .vhd obtained from the old restore (file1) with the .vhd that contains the most recent changes (file2).

Instead of trying to change the vdi-parent reference, that turned out coded in file2, I renamed file1 giving it the name indicated in this reference.

With this two files, the VM started. By exporting and reimporting it, the occupied space was then reduced from 2x60GB to 1x60GB and the vdi-parent configuration removed.

Thanks for helping
Roberto
0
 

Author Closing Comment

by:helpdti
ID: 39793751
I found the solution myself.

The expert's comments where helpful, although not conclusive
0
 

Expert Comment

by:LUBOSFIALA
ID: 39845162
just as a note, since i've been tackling the ~same issue: the RW disk is a differentiating disk and this is the actual VDI used by the VM (can see this by UUID). as long as the VM is not touched (rebooted, migrated, etc) it will continue to run even without it's parent.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

596 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