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] 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
<Prev in Thread] Current Thread [Next in Thread>