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] Expanding a virtual block device

To: Victor Ramirez Lorca <vramirez@xxxxxxxxx>
Subject: Re: [Xen-users] Expanding a virtual block device
From: Vivien Bernet-Rollande <vivien.bernet-rollande@xxxxxxxxxxxxxxxxx>
Date: Mon, 02 May 2011 10:07:05 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 May 2011 01:08:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTikRxrb1ANDpy6fDA1emd_hYnH7NNQ@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: <4DB95EAF.2040502@xxxxxxxxxxxxxxxxx> <BANLkTikRxrb1ANDpy6fDA1emd_hYnH7NNQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110419 Lightning/1.0b2 Thunderbird/3.1.9
in my case the domU resides in a lv at the dom0 too, i've used
lvextend instead of  vdi-resize

  Dom0#  lvextend -L +5G /dev/vg_r710/vol_xyz

and followed the remaining steps from this link

http://www.michelem.org/2009/01/16/how-to-resize-a-disk-partition-on-a-xen-guest-linux-host/

at the end  used  resizefs

DomU# resize2fs /dev/vg_vm/lv_root


The solution you are offering requires a reboot of the VM, which I'm trying to avoid. I know how to resize a LV and filesystem. I want to resize my disk, and have Xen and the domU notice it, without having to reboot the domU.

Is this actually possible with Xen ?

--
Vivien Bernet-Rollande
Systems&  Networking Engineer
Alter Way Hosting


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