Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Restore missing vhd-parent in a XenServer virtual machine

Posted on 2014-01-09
8
Medium Priority
?
2,202 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
  • 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
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…

580 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