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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Resize domU block device?
From: Errol Neal <eneal@xxxxxxxxxxxxxxxxx>
Date: Mon, 19 Nov 2007 11:54:40 -0500
Delivery-date: Mon, 19 Nov 2007 08:49:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4CE02D8F-499B-4030-89E2-10F9B945C112@xxxxxxxx>
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: <4CE02D8F-499B-4030-89E2-10F9B945C112@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.5)
Quoting Ralf Müller <ralf@xxxxxxxx>:

Is there a way for a domU to discover size changes of block
devices modified by dom0?

To make it clear - if I do in dom0 a lvresize of a logical volume given
as physical disk to a domU, is there a way to use the new size
of this device within the domU without reboot?

Thanks
Ralf


The domU will be aware of the additional space. How you take advantage of that is depending upon the filesystem and more importantly, the OS. For example, ext3 filesystems must be unmounted before you can resize them. You'll probably need to delete the partition, recreate it, using up all the free space you gave it. That is , unless you use some of the other tools available. I'm talking about using sfdisk, fdisk or parted..

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: binPq8DgBQVZ2.bin
Description: PGP Public Key

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