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] Making system templates

On Tue, Jun 9, 2009 at 7:08 AM, Jeff Williams<jeffw@xxxxxxxxxxxxxx> wrote:
> So to confirm, rather than making /dev/xenvg/domudisk and doing:
>
> disk = ['phy:/dev/xenvg/domudisk,xvda,w']
>
> and partitioning /dev/xenvg/domudisk in the guest, you'd make (for example):
>
> /dev/xenvg/domudisk-root
> /dev/xenvg/domudisk-home
> /dev/xenvg/domudisk-swap
>
> and configure it like:
>
> disk = [
>   'phy:/dev/xenvg/domudisk-root,xvda1,w',
>   'phy:/dev/xenvg/domudisk-home,xvda2,w',
>   'phy:/dev/xenvg/domudisk-swap,xvda3,w'
> ]
>
> Is that right?

That's what I do with templates-based installation.

> The idea had crossed my mind, but all the tools seemed to
> want to do it the other way.

For some tools (like virt-manager), yes. Other tools (like eucalyptus)
seems to use tar.gz. images.
Personally I don't use provisioning tools, but rather doing it all
manually (lvcreate, mkfs, tar xfvz, etc.).

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users