[linux-lvm] how to enlarge a logical volume that is a virtual disk of a virtual machine that uses lvm too?

Ricardo Funke Ormieres funke.listas at gmail.com
Sat Mar 7 15:51:41 UTC 2009


Ok Alex, I'll try it online and offline to see what happen

Thank you very much! =)

2009/3/7 Alex Brett <alex at alexbrett.net>

> I'm not sure if you could do it online or not (I can't see any reason
> why not, but there may be issues), but you should just be able to resize
> the LV (lvresize) in dom0 (obviously make sure you enlarge it, not
> shrink it), then do a pvresize in the VM to enlarge the PV to use all
> the extra space.
>
> Alex
>
> Ricardo Funke Ormieres wrote:
> > Hello,
> >
> > I have a phisical machine with a xen vm installed and I'm using LVM in
> > both. The Virtual Machine is using a LogVol (that belongs to the Dom0)
> > as it's virtual hard disk.
> >
> > It's possible to enlarge this LogVol in order to enlarge the vm's hard
> disk?
> >
> > I know that I can just create another LogVol in the Dom0 and add it to
> > the vm's PV, but I'm curious for that possible alternative.
> >
> > Thanks in advance
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20090307/76cb1a6c/attachment.htm>


More information about the linux-lvm mailing list