Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After googling all day I have had no luck, so I hope someone on here can assist me.

I setup my XenServer, created a ubuntu VM, then placed my itunes library (300gb+) onto the system. After this, I then go to install another VM, after failing I restart the server although during restart we had a powercut.

When the power came back on initially my VM wasn't working, (said something about a mkdir failing) - So I found this may be over came by restarting again - Then the problem got worse as the server now wont boot fully.

So essentially I have my itunes library sitting on the hard drive, which I can access from my main PC (in ubuntu) yet I am unable to find the files.

Is there any way of recovering the files before reinstalling or during reinstalling without being able to previously access the server.

share|improve this question
"server now wont boot fully" - you mean the VM or XenServer? What's on the screen? – ETL Feb 16 '13 at 21:35
The XenServer, sorry - Just appears with the Citrix XenServer "splash" screen and doesn't progress – Daniel Feb 16 '13 at 21:40
If you press ESC does something come up? – ETL Feb 16 '13 at 22:07
Nothing seems to happen on pressing ESC, instantly or after a couple of minutes. – Daniel Feb 17 '13 at 21:36
up vote 0 down vote accepted

First you should check your ram on your server. Next boot the server with a livecd. I like the suse install DVD bc it has good support for lvm. Boot into it and use pvscan and vgscan to look for the storage repository holding your vhd files. See here once you find the SR with your vhd files. Copy the one with the correct file size elsewhere. Now you can open your vhd and get your files back

share|improve this answer
Thanks wasn't a ram issue but I managed to retrieve the files. Thanks again! – Daniel Feb 23 '13 at 11:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.