cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Makrand <makrandsa...@gmail.com>
Subject Re: Instance with a larger disk size then Template
Date Thu, 03 Aug 2017 10:10:03 GMT
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 <imran@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message