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

[Xen-users] DomU in it's own LVM partition fails to boot CentOS 5.2 Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU in it's own LVM partition fails to boot CentOS 5.2 Dom0/U
From: Peter Hoose <phoose@xxxxxxxxx>
Date: Sat, 24 Jan 2009 13:19:43 -0500
Delivery-date: Sat, 24 Jan 2009 10:20:31 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=nE5omCsKIL/0Xc01C9u72d2lOPwiR3tb77nQVe9AwoM=; b=D+3A3P5ZHtNPLDL16cG59dZkjjKHEp8juK9VW7yDBK2zCOpdaXJXzspJWcXyyCWkM0 6mZ/jUCbj4vimTu5uUIWumaWq7p0wXOS5+ttMf20dPihg6VINH+/uC0P6LHnOKq0YPIY 32yqlbUwYTcbzKi37qe8101nGQJsKX3vbJCNk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GoCcL7Ll2PxveTDaLnzQ0IOTkX8Cx4slMqlrtf+1+Xl5V9wk/nvnaxzkF39unym3yS 8FvdSADqYMzbUMily21ZyBZLfH93T7CBAQQJTHqRAnkcTQqC8qv6FFNbOppocaYL59Ci gneDPwpveVDRnyS5Q1ba0kMVXcinFdVJU0L8U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I'm trying to do what I think would be relatively simple but can't seem to make it work. Essentially I want to create several domU's running CentOS each with it's own LVM partition for increased performance over image files.

Initially I did a test with image files and everything went fine, I booted the supplied initrd and vmlinuz images installed CentOS from http, etc... However, the performance of image files is pretty slow for what I intend to use this for (Web/DB servers). So I wanted to do the same thing but in a dedicated partition. Problem is, when I do this and try to install via http, the disk doesn't show up in the installer, it just shows a "#". This appears to be expected when using a dedicated partition and the solution seems to be to copy an image to my partition and go that route. I tried this 2 different ways: 1: jailtime image 2: copy of my dom0 OS. For the jailtime image using the supplied config file with my disk substituted:

kernel = "/var/lib/xen/boot/CentOS/CentOS_5_x64_vmlinuz"
name = "guest01"
memory = "1024"
disk = [ 'phy:/dev/VolGroup00/guest01,xvda1,w', ]
vif = [ 'bridge=xenbr0', ]
vcpus=1
root="/dev/xvda1"
extra = "fastboot"
>>
I get the following error:

VFS: Cannot open root device "xvda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

When I try to copy my own OS the file copy takes forever (only 20G) and my load average starts creeping up to 3+, which I assume may have to do with the fact that I'm running cp -ax / /mnt/guest01 which may loop copying /mnt/guest01 to itself or something similar? Or maybe this is expected and I'm just impatient :)

Anyways, long story short, is there a way to install to a partition via HTTP like with disk images? If not, what am I doing wrong using the prebuilt images?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users