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 3, LVM and FC4

To: Andrew McConnell <armcconnell@xxxxxxxxx>
Subject: Re: [Xen-users] Xen 3, LVM and FC4
From: Andrew Ross <aross@xxxxxxxxxxxxxx>
Date: Fri, 07 Jul 2006 11:39:23 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Jul 2006 18:40:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <dd652030607061826o5efc6cb6mdf8fee4f256a26a5@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/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: <dd652030607061826o5efc6cb6mdf8fee4f256a26a5@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (Macintosh/20060530)
Andrew McConnell wrote:

This is my first attempt at setting up Xen.  I've got xend running
without issue but can't seem to create DomU's.  I'm sure I'm missing
something obvious but I've exhausted my resources trying to find it.
I installed from xen-3.0.2.2-86.1 RPMs.

Do I need to do anything more to a LV before trying to use it with Xen?

I assume you've created a filesystem on the LV and have drivers for said fs compiled into your domU kernel.

[root@phllu3 ~]# cat /etc/xen/test.cfg
kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_fc4"
memory = 64
name = "vm1"
vif = [ '' ]
disk = [ 'phy:/dev/xen_vg/lvol0,sda1,w' ]

You're missing the following line in /etc/xen/test.cfg :

root = "/dev/sda1 ro";

[root@phllu3 ~]# xm create -c test.cfg

VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option

Cheers

Andrew


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

<Prev in Thread] Current Thread [Next in Thread>