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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Expanding a virtual block device
From: Mark Dokter <dokter@xxxxxxxxxxxxx>
Date: Mon, 02 May 2011 22:05:35 +0200
Delivery-date: Mon, 02 May 2011 13:06:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tugraz.at; s=mailrelay; t=1304366744; i=@xxxxxxxxxxxxx; bh=g7R5y8nwe3d6+1XnP6LcQkD729pvtbJDxoV7lz1bRFo=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=tQ/C5xnOiA0xF3nyOUep/SVv20KzyABscrx/2R2Iax1MBcss/D1Y3tIjT79vOgTki vb4P31tf1nA0G7IKNhYqaaBIhPSGLT8gdrAhGJkrc+tc2ZOtuWMrjktHq7LTWOQqKp icG/rgShDt7zDJ0Sz2pw8HmuLgWOpeqFfkOWHT5g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DBEA6B2.7060801@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/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> <4DBE6629.6000208@xxxxxxxxxxxxxxxxx> <4DBE8AF9.9050905@xxxxxxxxxxxxx> <4DBEA6B2.7060801@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
On 5/2/11 2:42 PM, Vivien Bernet-Rollande wrote:
> 
>> I tried this and it's actually not a Xen issue. A resized volume in dom0
>> (even on DRBD :) ) is noticed by the domU.
>> So if your disk was 100G before and you add another 100G, fdisk(in domU)
>> will report a 200G disk after the resize in dom0.
>>
> This is interesting, as it is not the behaviour I have observed.
> 
[...]
> 
> Are you sure the experience you are describing happens without a reboot
> ? And if so, how are your virtual block devices configured ? Are you
> using "phy", "file", "tap:aio", or something else ?
> 

I use:
- ubuntu 10.04
- xen 4.0.1
- 2.6.32 pvops kernel
- lvm OR lvm+drbd (tried both) in dom0
- configured domU disk with "phy"
- pv-on-hvm drivers in domU (xen-blkfront etc...)

After I resized the volume (with the domU running) I got a kernel
message in the domU saying that a disk resize was detected.

The disk was now bigger, but the partition on that disk must still be
adjusted.

Mark

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