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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Peter Hoose <phoose@xxxxxxxxx>
  • Date: Sat, 24 Jan 2009 13:19:43 -0500
  • Delivery-date: Sat, 24 Jan 2009 10:20:31 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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