A faster approach than those mentioned is to create a new partition on the unused disk space, and add it to the volume group, then use lvextend and resizing the fs.
On Thu, Aug 3, 2017 at 12:00 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 >