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] Resize domU block device?

To: Andy Smith <andy@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Resize domU block device?
From: Ralf Müller <ralf@xxxxxxxx>
Date: Mon, 26 Nov 2007 15:29:13 +0100
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 26 Nov 2007 06:30:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071123184031.GK3347@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <B0043D39-ACF1-4CB9-B1E7-7D88D5AFB421@xxxxxxxx> <20071123184031.GK3347@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Am 23.11.2007 um 19:40 schrieb Andy Smith:

On Mon, Nov 19, 2007 at 06:23:02PM +0100, Ralf Müller wrote:
The day before I tested to do "lvresize -L+20G" on a logical volume
given to a domU and do a "xfs_growfs" of this volume inside the domU
it belongs to. It didn't notice that until I rebooted the domU.
Thatswhy I asked here. Is this a new feature which is not in my Xen 3.1?

Not that I am aware of.  It simply does not work, despite the many
people who will claim it does without actually trying it.

Thanks for that answer. I felt e bit stupid as the one who isn't able
to this, under all the ones who told me it is no problem at all.

If it is not the domU's root fs then you can unmount it in the domU,
from dom0 detach the block device, then re-attach the block device
again and the domU will see the new size.  Obviously not possible if
this is the domU's root fs.

Uiii - hardcore solution. Near to no way to do this automatically. So
I will have to stick with the reboot solution for a while ...

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