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] xen + centos + areca raid issues

To: muecke@xxxxxxxxxx
Subject: Re: [Xen-users] xen + centos + areca raid issues
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Tue, 16 Oct 2007 17:36:54 +0530
Cc: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 16 Oct 2007 05:07:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=utiWe6Vdqce27AJv/iKEOK6bA//bohXytLnJ7jD/SCY=; b=og4QUv4FLmfyhBC2yVQpA9rqtHIMQH2ItOezbribv7HZjBXKcbOSJK21DBQqX1cQ0wg6vLiwZdaWr02SBXM0vjfi0QOe5LW2UJr66m6plDDpgJuykZJJKIrp1iOmar2nTsCpyEyz66Y2/a8vCHnsc/e9JOPFtQsaP3MAnihA/1w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Z2UHDu99QRtH6s8yd0B4WdPDZPX6BBEVNEDiD1IC7uMHMa4nZ7YLGkqVtvk83mRyhQ41P+oXAaB5avBdAZdDsTxdH2cD46Ocn/Senn1mUhZOPeG4eSzf4Ngz6bKloEfY/krMrw/c+QtE4Scdw4RvN5tB48YliXOZBpShF5jpYWw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4714A7ED.9020906@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00710160437u233e3de3mb9e31717a3d94142@xxxxxxxxxxxxxx> <4714A7ED.9020906@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for the quick response Artur.

The reason there is nothing in the config file about the kernel is because of pygrub and centos's way to put the kernel inside the domU (atleast thats what i had learnt by reading the thread on this list)

I cannot mount the domU image file since it contains LVM volumes in it. Here is the partition structure of the image file aaa.

Disk aaa: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
  aaa1   *           1          13      104391   83  Linux
  aaa2              14        1300    10337827+  8e  Linux LVM
Partition 2 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(1299, 254, 63)


I tried to use lvm tools to recognise the volume as well, however doesn't work. For this, i used the following

losetup /dev/loop0 /home/xen/aaa

Now the entire image is present as /dev/loop0. However when i try to run vgscan, it doesn't recognise the lvm volume at all.

On 10/16/07, Artur Mücke <muecke@xxxxxxxxxx> wrote:
Anand Gupta wrote:
>
> Also the Virtual Machine Manager under centos has stopped working. Does this
> mean i need to recreate these domU's ? Really confused here on how to go
> about it since the old domU has a lot of data in it, which is required and
> now the machine is down :(

There's nothing about your new kernel in your domU-Configuration. There
should be something like:
kernel  = '/boot/vmlinuz-2.6.18-5-xen-686'
poniting on the new compiled kernel.

Moreover you should copy the new kernel modules to e.g. /lib/modules/.

Dont worry about your data in the domU. You can mount your Image or the
according partition like this:

Partition:
==========
mount /dev/XdaX /mnt

Image:
======
mount -o loop /yourfolder/vm_disk.img /mnt

Maybe the best would be to create a new VM with xen-create-image.

Hope thats gonna help you a bit.

Cheers,

Artur


--
"There are 10 kinds of people in the world, those who understand binary
math, and those who don't."



--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users