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] increase size for dom guest using lvm online

To: Aclhk Aclhk <aclhkaclhk@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] increase size for dom guest using lvm online
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Sun, 16 Aug 2009 12:23:01 +0100
Delivery-date: Sun, 16 Aug 2009 04:24:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <988918.84894.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <988918.84894.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Aclhk Aclhk wrote:
could we increase the size for dom guest online without rebooting or unmounting?

I don't believe so. At the moment, I believe the size passed to the guest is fixed at creating time, so if you enlarge the volume, the guest won't get to know about it until it is shut down and re-created. It may be possible to detatch a volume and re-attach it with xm but I've never done that.

In any case, at least with ext3, you need the filesystem unmounted in order to resize it.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list