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] Is XVD live resize possible?

To: Ferenc Wagner <wferi@xxxxxxx>
Subject: Re: [Xen-users] Is XVD live resize possible?
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sun, 06 Apr 2008 12:09:37 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 06 Apr 2008 04:04:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=x70TodzNViSAjJmkKPdx0hBezOkGiLVE7W0ePr93Rrg=; b=wUacedwgVsE3tLKVAxLwYR5siRfpD8/v2ow1F7Q1XURPfo61VSXWb6Haxh9fpzL1eE7ZLV0B7RmNAmMVloK63bWBWgXXDdPou3tQkfssFFdTwmO2WfpIJMllLxzC5ZrbkCbvjS6K9Vx9TjuBj7982wZLuunmlQnwKbjZnRwYNoA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=P3lnPoBmncNQXg7vHqsNCrQwYw4s79xZJuDtTmW45Q/4uJYxTx+uEOAj+av2R0zOxz4bL9pQjJOwuKz3h9A1gG6hOGkfZzyeOxehxKwlkPYq5RtYZvF3JsQpNq7OIU5YB/uejoKmVYDB7ebjZlXNpr9mdwHAKTx9Ji8MUsXYkWU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87d4p3pala.fsf@xxxxxxxxxxxxxxxxx>
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: <87d4p3pala.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
Ferenc Wagner wrote:
Hi!

Say I export an LVM logical volume from dom0 as /dev/xvda to the domU:

disk = [ 'phy:xenimages/stan,xvda,w' ]

No I can lvresize xenimages/stan in dom0, but the domU stays ignorant
of this change.  How could I propagate the resize to the domU without
rebooting or temporarily breaking its connection to /dev/xvda?  Sort
of a SCSI rescan, perhaps?
You have to resize the *file system* on the partition. Whether you can use a 'rescue CD' inside the virtualized environment, to resize your partitions, is an interesting question and may depend on your installed OS quite a bit. You can certainly resize non-'/' partitions from the live OS, and use such an environment to re-run grub if your boot loader has moved or gotten confused.

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