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 lvm disk

I think I actually made this work once, but it was really convoluted.

Basically, I had to have two separate LVs, one partitioned with /boot
and one not partitioned, whole thing was LVM.  I could resize the
underlying LV on dom0 and then in domU I could do a pvscan?.. or
something like that, to get LVM on domU to recognize the change.
Unfortunately, getting the kernel's copy of the partition info to
change was not easy.  I did so many iterations of "OK, try this..."
with LVM, kpartx etc.. that I couldn't tell you how I finally got it
to work.

Actually, I might have done all the resizing from insize dom0... 

Anyway, unless I'm just wrong and I didn't actually do this (a
possibility), it is possible.

Another option is to hot-add additional LVs to domU and then add them
to the LVM as additional PVs.  

-Dylan

> 
> ...without rebooting the domU or detaching/re-attaching the block
> device?
> 
> No; must resize the hard drive and reboot, the do the LVM stuff.
> 
> Joe.
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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

<Prev in Thread] Current Thread [Next in Thread>