[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.