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


[Xen-users] Re: increase size for dom guest using lvm online

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: increase size for dom guest using lvm online
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Sun, 16 Aug 2009 21:56:37 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Aclhk Aclhk <aclhkaclhk@xxxxxxxxx>
Delivery-date: Sun, 16 Aug 2009 12:57:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DE2B3@trantor> (James Harper's message of "Sun, 16 Aug 2009 21:25:36 +1000")
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> <AEC6C66638C05B468B556EA548C1A77D016DE2B3@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
"James Harper" <james.harper@xxxxxxxxxxxxxxxx> writes:

>> could we increase the size for dom guest online without rebooting or
>> unmounting?
>> pls kindly advise any methods.
> For a PV DomU (or a HVM DomU using PV drivers), there is no mechanism
> for the backend (Dom0) to notify the frontend (DomU) of a change in
> device size. I suspect that HVM DomU's have the same problems.
> So no, it cannot be done without rebooting.

Unless you resort to double attach and replacing device-mapper
tables.  Possible in principle, but be very careful suspending your
root device...  Good luck!

Xen-users mailing list