[CentOS] building a Xen guest image on straight LVM partitions?

Ross S. W. Walker rwalker at medallion.com
Mon Dec 10 23:02:20 UTC 2007


Johnny Tan wrote:
> 
> Ross S. W. Walker wrote:
> > Johnny Tan wrote:
> >> Amos Shapira wrote:
> >>> When I needed to build Xen guests under Debian I could 
> >> follow more or
> >>> less the instructions in http://preview.tinyurl.com/2oc48r and the
> >>> advantage of this approach is that it allows me to setup 
> >> the Xen guest
> >>> directly on the LVM partition without making it consider the LVM
> >>> partition as an entire disk with a partition table.
> >> I might be missing something, but that link seems to talk 
> >> about FAI and doesn't mention xen. I'm interested in seeing 
> >> how it can install on the LVM partition but the OS doesn't 
> >> see it as an entire disk with a partition table. What does 
> >> "fdisk -l" show, then?
> > 
> > Here is a good link: http://wiki.rpath.com/wiki/Xen_DomU_Guide
> 
> Based on that link, this seems like a regular install of Xen 
> onto a LVM partition. I thought Amos was referring to some 
> special setup.
> 
> CentOS can definitely do this. Just setup LVM, and then 
> manually edit the /etc/xen/myvm file so that the disk line is:
> 
> disk = [ 'phy:/dev/myvg/mylv,xvda,w', ]

you can short hand it [ 'phy:myvg/mylv,xvda,w' ]

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.




More information about the CentOS mailing list