cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imran Ahmed" <>
Subject RE: Instance with a larger disk size then Template
Date Thu, 03 Aug 2017 10:15:25 GMT
Hi Dag,

Thanks for  your prompt reply.   During the creation of new instance I set the size of root
disk to 300G. Once the instance was created , the device /dev/vda was created with 300G size.
 However the LVM partition still shows 5G size.  (same is shown under in df -h)



-----Original Message-----
From: Dag Sonstebo [] 
Sent: Thursday, August 03, 2017 3:08 PM
Subject: Re: Instance with a larger disk size then Template

Hi Imran,

Can you elaborate – you say your template had a 5GB root disk. Did you resize this, or did
you add a disk?

If you resized it then all you need to do is use your LVM and filesystem tools to expand your

Dag Sonstebo
Cloud Architect

On 03/08/2017, 11:00, "Imran Ahmed" <> 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
    Kind regards,
53 Chandos Place, Covent Garden, London  WC2N 4HSUK

View raw message