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

Re: [Xen-users] Sample Config File?



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

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

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