cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imran Ahmed" <im...@eaxiom.net>
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)

Regards,

Imran  

-----Original Message-----
From: Dag Sonstebo [mailto:Dag.Sonstebo@shapeblue.com] 
Sent: Thursday, August 03, 2017 3:08 PM
To: users@cloudstack.apache.org
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
partition. 

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 03/08/2017, 11:00, "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 
    
    


Dag.Sonstebo@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Mime
View raw message