[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]