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] problem with xm create

To: elli_dberg@xxxxxx
Subject: Re: [Xen-users] problem with xm create
From: Jan Marquardt <jm@xxxxxxxxxxx>
Date: Tue, 30 Jun 2009 16:42:18 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 30 Jun 2009 07:43:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1834552526@xxxxxx>
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>
References: <1834552526@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = "/boot/initrd.img-2.6.18.8-xen"
memory = 128
name = "virtualrouter1"
vif = [ 'type=ioemu, mac=00:16:3e:70:00:00, bridge=xenbr1, ip=10.0.1.1, 
script=vif-bridge',
        'type=ioemu, mac=00:16:3e:70:00:01, bridge=xenbr2, ip=10.0.2.1, 
script=vif-bridge',
        'type=ioemu, mac=00:16:3e:70:00:02, bridge=xenbr3, ip=10.23.100.13, 
script=vif-bridge']
root = "UUID=94a89174-ddca-4b8c-894c-bb3b7e0c62fa ro"
extra = "xencons=tty"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


Hi,

in your config the disk directive is missing. It tells the domu which disk it haves and so on. If you are using lvm in the backend, it would for example like this:

If the logical volume should be recognized as a harddisk:
disk = [ 'phy:/dev/volumegroup/volumename,hda,w' ]

And if the volume should be just a partition:
disk = [ 'phy:/dev/volumegroup/volumename,hda1,w' ]
                                             ^
HTH

Regards,

Jan


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