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

Re: [Xen-users] problem with xm create



>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

 


Rackspace

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