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

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

 



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/

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux