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] Report to a domU a change on a disk

To: Alain Barthe <ab266061@xxxxxxxxx>
Subject: Re: [Xen-users] Report to a domU a change on a disk
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 1 Sep 2008 16:40:50 +0300
Cc: "Angel L. Mateo" <amateo@xxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Sep 2008 06:41:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <94e2f00b0809010628y98f9cf4o7fd43d924fba5bb9@xxxxxxxxxxxxxx>
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: <1220268875.18571.37.camel@joshua> <94e2f00b0809010628y98f9cf4o7fd43d924fba5bb9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Sep 01, 2008 at 03:28:48PM +0200, Alain Barthe wrote:
> 2008/9/1 Angel L. Mateo <amateo@xxxxx>
> > Hello,
> >
> >        I have a Xen dom0 (Debian Etch running xen 3.0.3) running different
> > domUs. DomUs' disks are LVM2 volumes. Now I have increased the size of
> > one of these LVM volumes so I have to inform to the corresponding domU
> > that its disk has increased its size (to resize it without unmounting
> > it). How can I do this?
> It seems AFAIK that you cannot tell an alive domU that its disk has grown
> without detaching and re attaching this disk. So if the disk supports the
> root filesystem, you can't.

I think there has been some patches for notifying domU about disk size
changes, but those are not integrated into Xen.

You could always run LVM in domU, add new disk from dom0 to domU, create PV 
into it, 
and the new disk to the existing VG in domU.

> Also, you can't resize a filesystem without unmounting it (
> http://www.howtoforge.com/linux_resizing_ext3_partitions).

I think ext3 nowadays supports online resizing.. ? 

-- Pasi

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>