Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So here is my predicament, I was running XenServer 5.6, it wouldn't mount the primary SR and was complaining about a pbd error and wouldn't plug it. So I reinstalled XenServer 5.6 on it without formatting the partitions. I then added the SR on the main drive and went for the second drive. I tried the same thing I did for the first drive, and it didn't work so I ran sr-create and then remembered a few seconds later that sr-create is destructive.

So I hit Ctrl-C and turned off the machine. And now I need to fix it and was wondering if using fdisk and recreating it partition (which was a single large ext3) would work to get the single VHD off it or if there is a better way to go? Thanks.

Edit: For reference this is said drive. http://www.canadacomputers.com/product_info.php?cPath=15_210_212&item_id=027811&sid=8dn9d53kagui1rdek94h71fee0

share|improve this question
    
Take a full disk backup of your drive before you attempt any partition recovery on it. Borrow a drive if you have to. It's very easy to screw up and trash everything you've been trying to save. –  jgoldschrafe Nov 4 '10 at 2:19
    
using something like dd to do a bit-by-bit image? –  Bryan Nov 4 '10 at 2:26
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.