On Mon, May 02, 2011 at 07:10:38PM +0700, Fajar A. Nugraha wrote:
> On Mon, May 2, 2011 at 6:58 PM, Andy Smith <andy@xxxxxxxxxxxxxx> wrote:
> > Hi Mark,
> > On Mon, May 02, 2011 at 12:44:09PM +0200, Mark Dokter wrote:
> >> On 05/02/2011 10:07 AM, Vivien Bernet-Rollande wrote:
> >> > 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 ?
> >> I tried this and it's actually not a Xen issue. A resized volume in dom0
> >> (even on DRBD :) ) is noticed by the domU.
> > Are you sure about that? It's never worked for me, but I've not yet
> > tried it in Xen 4.x. It's always needed a shut down and boot of the
> > domU for me, for it to see a larger block device.
> It used to be like that for Xen 3.x
> In 4.x, online resize is possible but ONLY if the domU kernel also
> support it. I'm using 188.8.131.52 pv_ops from Jeremy's git tree, and it
> can recognize the size change just fine once I run partprobe on both
> dom0 and domU (the dom0 part might not be necessary though).
Yep, xen/stable-2.6.32.x kernel supports online resizing.
Online resizing was added up upstream (kernel.org) Linux 2.6.36.
RHEL5 kernel-xen is expected to get online resizing support in rhel5.8.
Xen-users mailing list