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

Re: [Xen-users] Sample Config File?


  • To: "Stephan Seitz" <s.seitz@xxxxxxxxxxxx>
  • From: "John Morris" <frankenbean@xxxxxxxxx>
  • Date: Fri, 26 Oct 2007 11:12:11 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 26 Oct 2007 08:12:59 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=BF7ZIvfAlxxWoBD34Iig8tyDKrhUfAMqDdys6Usw5P1dn2tqmTTBAzhUBmhP8R6qtApAxo3JnWbJkrUeBZM2fGroLKFyLfeYaYD17s2m++jzGj9KoJObCV374ephwB78fZLWV8LNtAcgAMb6RbDGhrIIXJcwiggRQraW3eqr3ws=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

It seems that I'm almost there.  My VM fails to boot from CD.  My disk options are

disk = [ 'phy:/dev/Xen/WinXP,ioemu:hda,w', 'file:/xens/test/winxp.iso,ioemu:hdc:cdrom,r' ]

and my boot options are:

boot="d"

Any thoughts? 

On 10/26/07, Stephan Seitz <s.seitz@xxxxxxxxxxxx> wrote:
John Morris schrieb:
> Thanks, Amos.  Do you happen to know how I might alter this to work with
> LVM?  I have a PV of 500GB, with a VG called Xen.  I have a 40GB Logical
> Volume set up for my windows virtual machine.

Hi,

first create the lv.

# lvcreate -L <image size>G -n <image name> <vg name>
e.g.
# lvcreate -L 80G -n mywindows-disk Xen

using this scheme, the disk entry in your hvm config file would
read something like:

disk = [ 'phy:/dev/Xen/mywindows-disk,ioemu:hda,w' ]

btw. i would always add a mac address to the vif line. there's no
assigned 'free' address space to use, just use one which isn't
already in use at your network segment. e.g. :

vif = [ 'type=ioemu,mac=02:16:3e:48:04:38,bridge=xenbr0' ]

greetings

Stephan


_______________________________________________
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®.