okay this may not work for all of you…. my root harddisk was a non-raid consumer-ocz-ssd with defect sectors. (xenserver would still boot, but you could not dd-copy it to any backup harddisk…
dd if=/dev/sda of=/dev/sdb conv=noerror
->“several sectors on the disk that dd couldn’t read“
no matter what program used (also tried acronis10) -> „Boot Error“ „Missing operating system“)
this is how i did it:
don’t think about „i just backup the meta-data, reinstall xenserver on a new harddisk and then recoverying meta-data thus recovering all vms and respositories…“ did not work well for me. citrix has not done a good job on those routines.
but maybe you have more luck than me.
1. luckily out of xen console you can also backup the xenserver installation
… which will copy all relevant data into the second partition of the first harddisk (sda2)
2. now you can try reinstalling xenserver and no matter if you try to restore during setup or after setup via console file -> restore -> select backup file…. it will not do it properly. you have to do it manually.
… for me this restore did nothing.
so again you go,
3. insert a linux live cd (like http://www.knoppix.org/ ) and manually mount and copy the content of sda2 to sda1.
4. your replacement-harddisk has gotten a DIFFERENT LABEL! (but the bootloader is looking for LABEL=root-uyrzwjjz
there is a command called
e2label /dev/sda1 LABEL=root-uyrzwjjz
which allows you to relable your (new) root sda1 drive (thanks god)
(will not exist anymore in newer versions of citrix xen 5.6 > x, because they also use grup now)
5.THE PARTITION LAYOUT / FILESYSTEM MAY BE CORRUPT! (maybe not finding the bootloader)
fsck /dev/sda1 -y
when the root harddisk fails and you do not have a citrix-compatible raid (DO NOT TRUST THE CITRIX HCL! BUY A DELL SERVER!!! NOTHING ELSE SEEMS TO BE PROPERLY SUPPORTED (AND TESTED) BY CITRIX XEN! PLEASE AMERICAND: HIRE A GERMAN ENGINEER TO DO YOUR HOMEWORK! SO YOU CAN SELL HIGH QUALITY INSTEAD OF LET-THE-USER-BE-FRUSTRATED-SHIT. if you do not have a citrix xen cmopatible raid controler, please consider OTHER VIRTUALIZATION SYSTEMS LIKE VIRTUALBOX! (runs on windows and linux) ) – you are virtually FUCKED my friend. because i could not get the RAID Adapter to work with xenserver, my root xen drive (was) a single harddisk (ssd) WHICH IS NOT A GOOD IDEA!
WHAT DELL SERVER HARDWARE IS ACTUALLY CERTIFIED?
feel free to join my battle for better raid adapter support http://forums.citrix.com/thread.jspa?threadID=316422&tstart=1
Linux Journal Best Virtualization Solution Readers‘ Choice 2012By Chris Kawalek on Dec 05, 2012I’m proud to report that in the latest issue of Linux Journal their readers named Oracle VM VirtualBox the „Best Virtualization Solution“ for 2012. We’re excited to receive this honor and want to thank Linux Journal and their readers for recognizing us! This is the latest award won by Oracle VM VirtualBox, following a 2011 Bossie Award (best open source software) from InfoWorld, a 2012 Readers‘ Choice award from Virtualization Review, and several others. These awards help us know that people are using Oracle VM VirtualBox in their day to day work and that it’s really useful to them. We truly appreciate their (your!) support.
links: overview of news of the virtualization market (there are a billion products out there)http://virtualization.info/en/