Imran, >From Linux POV, boot VM from live centos DVD/ISO and then go on for extending root LVM partition. Once you boot into live ISO, the existing root will be just another lvm and can be extended by using existing unused space on vggroup.
If you don't wanna do all time with new VM, then set correct root partition size for new VM, take snap of root and get new template form this and use it in future -- Makrand On Thu, Aug 3, 2017 at 3:30 PM, Imran Ahmed <im...@eaxiom.net> wrote: > Hi All, > > I am creating an instance with a 300GB disk from a CentOS 7 template that > has 5GB disk (LVM Based). > The issue is that the root LVM partition inside the new VM instance still > shows 5GB . > > The device size (/dev/vda) however shows 300GB. The question is what is > the best strategy to resize the root LVM partition so that I could use all > 300G. > > Kind regards, > > Imran > >