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/
Home Products Support Community News


Re: [Xen-users] Making system templates

To: "Olivier B." <xen.list@xxxxxxxxx>
Subject: Re: [Xen-users] Making system templates
From: Jeff Williams <jeffw@xxxxxxxxxxxxxx>
Date: Tue, 09 Jun 2009 08:08:25 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Jun 2009 17:09:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2D27F8.7060304@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A2D2246.2070607@xxxxxxxxxxxxxx> <4A2D2360.3040906@xxxxxxxxx> <90eb1dc70906080755i4938490fl65422a0251a2d1cd@xxxxxxxxxxxxxx> <4A2D27F8.7060304@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090409)
On 08/06/09 23:02, Olivier B. wrote:
Javier Guerra a écrit :
On Mon, Jun 8, 2009 at 9:42 AM, Olivier B.<xen.list@xxxxxxxxx> wrote:
about LVM : one the big advantages of LVM is the resize... "lvresize" on
Dom0, then (for ext3/ext4) resize2fs in DomU.

add a partition resize step.  even so, this only works if the
filesystem you want to resize is the last partition in the virtual
I never partition LVM "virtual device", I used different LV. So there is no problem to resize any of this partitions.
About the additionnal step, I don't really see where it is a problem.
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):


and configure it like:

disk = [

Is that right? The idea had crossed my mind, but all the tools seemed to want to do it the other way.


Xen-users mailing list