?
Solved

Restore missing vhd-parent in a XenServer virtual machine

Posted on 2014-01-09
8
Medium Priority
?
2,042 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
2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

764 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