WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: domU corrupt after server crash, help needed trying

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Re: domU corrupt after server crash, help needed trying to recover domU
From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Date: Sat, 9 May 2009 00:42:30 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 May 2009 15:43:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=O1DqNxsW9AykiiqKFiHp4P9VpzidsA5OKK6ew2FYRx8=; b=mU2LMkKvMCE3vqmPirRGTjsG1TwKIq7ehyE/ndGji2uvrhWf8iCjHUsTdzzRmm3w1S WGIjd6MGpD8xjApP5EVMOo4IFuRzDQ0gMy/8Q6fqW7bnqI2wrErJt85fw7L0rIjO/CT7 Yh36SuV9DhE24+yIZmBSYPU/Wr44baCwbrPbw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Oz3sMkqlV94G6dy6VZal0UuFbaD85r4GqDpLHhSN/ulqHGs1YDCAxt1oGry9IwIeo0 gLj20rv12ITxuH3pishQ4gR3epxDlfwszq8z7svJIFAwWcs7UzAkppCIennjgAgYNcqq WOzAAYh39ZgbyYFJN7Cm4PTb+ec+pj+6JUjw4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0905081355i7306f852gefb17a782d9eaa9f@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0905080529i1891ecd0jd402f8a42a4498e4@xxxxxxxxxxxxxx> <695200da0905080643t3982aa0dlf354df28c57e529f@xxxxxxxxxxxxxx> <695200da0905081121u2578bcd9rf7966b9071861443@xxxxxxxxxxxxxx> <7207d96f0905081355i7306f852gefb17a782d9eaa9f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Fri, May 8, 2009 at 10:55 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sat, May 9, 2009 at 1:21 AM, Rudi Ahlers <rudiahlers@xxxxxxxxx> wrote:
> Does anyone know how to fix this?

You pretty much did everything correctly. If it still refuses to come
up the only available option is restore from backup.

I see that you use losetup, meaning file-backed storage for domU. Do
you also use file:/ in domU config file? If yes, then that
configuration is prone to failures. You should use tap:aio:/ or phy:/
with LVM-backed storage.

Regards,

Fajar

Hi Fajar,

I got the commands via google search, so I didn't know that losetup was only meant for file-backed storage.

Here's the domU configuration:

[root@xen ~]# more /etc/xen/hfserver2
name = "hfserver2"
uuid = "073b87c5-0317-6eb3-f07f-b8978246ec48"
maxmem = 4096
memory = 1024
vcpus = 2
bootloader = "/usr/bin/pygrub"
>> >vfb = [  ]
disk = [ "phy:/dev/data/hfserver2,xvda,w" ]
vif = [ "mac=00:16:3e:2d:a1:fe,bridge=xenbr0" ]


Unfortunately there's no backups :(

--
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users