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: Andreas Sommer <AndiDog@xxxxxx>
Date: Tue, 30 Jun 2009 14:41:30 +0100
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 30 Jun 2009 06:43:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1834624335@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: <1834624335@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)
>From your configuration I guessed that your disk will be a real partition having the UUID 94a89174-ddca-4b8c-894c-bb3b7e0c62fa (even though I don't think it would work like that). Have I been wrong with that assumption?

In fact if you just want to use a flat disk image (= one file), you would have to add the lines

disk = ['file:/path/to/your/disk.img,sda1,w']
root = "/dev/sda1 ro"

You may want to look at the tutorial on http://www.option-c.com/xwiki/Create_a_Debian_VM_with_debootstrap which describes how to setup a basic domU.

elli_dberg@xxxxxx wrote:
Hi Andreas,

what do you mean by real partition? How do you create/configure your guest domains? I could change the configuration if necessary. 

Thanks 


Andreas Sommer <AndiDog@xxxxxx> schrieb am 30.06.2009 15:20:03:
Hi again,

sorry but I don't know anything about using real partitions with Xen 
guests. Maybe you should make sure that it is unmounted in dom0 ?! 
Furthermore the modules needed to load the file system must be provided 
for the domU kernel (and probably inside the initrd image).
I think somebody else will have to help you on that problem...

Best regards


elli_dberg@xxxxxx wrote:
  
Hi Andreas,

I use xen 3.4.0 and here is the configuration file for my domU:

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"




I created this domU using LVM.

Thank you 
    
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


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

  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>