Re: Instance with a larger disk size then Template

2017-08-07 Thread Firxiao zhang
v=cjAHbjHWRlM > > I am planning to do a similar one for LVM based root disks as well. > > > Cheers, > > Imran > > -Original Message- > From: Mohd Zainal Abidin [mailto:zainal@gmail.com] > Sent: Friday, August 04, 2017 3:29 AM > To: users@cloudsta

RE: Instance with a larger disk size then Template

2017-08-06 Thread Imran Ahmed
: Mohd Zainal Abidin [mailto:zainal@gmail.com] Sent: Friday, August 04, 2017 3:29 AM To: users@cloudstack.apache.org Subject: Re: Instance with a larger disk size then Template We have this issue long time ago. We manually resize root when VM's still running. After resize and reboot the size

Re: Instance with a larger disk size then Template

2017-08-03 Thread Mohd Zainal Abidin
gt; Cheers, > > > > Imran > > > > -Original Message- > > From: Erik Weber [mailto:terbol...@gmail.com] > > Sent: Thursday, August 03, 2017 3:56 PM > > To: users@cloudstack.apache.org > > Subject: Re: Instance with a larger disk size then Template &g

Re: Instance with a larger disk size then Template

2017-08-03 Thread ilya
ize in future. > > Cheers, > > Imran > > -Original Message- > From: Erik Weber [mailto:terbol...@gmail.com] > Sent: Thursday, August 03, 2017 3:56 PM > To: users@cloudstack.apache.org > Subject: Re: Instance with a larger disk size then Template > > A fas

Re: AW: Instance with a larger disk size then Template

2017-08-03 Thread ilya
richt- > Von: Imran Ahmed [mailto:im...@eaxiom.net] > Gesendet: Donnerstag, 3. August 2017 12:00 > An: users@cloudstack.apache.org > Betreff: Instance with a larger disk size then Template > > Hi All, > > I am creating an instance with a 300GB disk from a CentOS

RE: Instance with a larger disk size then Template

2017-08-03 Thread Rodrigo Baldasso
st 03, 2017 3:56 PM To: users@cloudstack.apache.org Subject: Re: Instance with a larger disk size then Template 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

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
d use this template to resize in future. Cheers, Imran -Original Message- From: Erik Weber [mailto:terbol...@gmail.com] Sent: Thursday, August 03, 2017 3:56 PM To: users@cloudstack.apache.org Subject: Re: Instance with a larger disk size then Template A faster approach than those ment

Re: Instance with a larger disk size then Template

2017-08-03 Thread Erik Weber
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 wrote: > Hi All, > > I am creating an instance with a 300GB disk

Re: Instance with a larger disk size then Template

2017-08-03 Thread Dag Sonstebo
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

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
: Thursday, August 03, 2017 3:18 PM To: users@cloudstack.apache.org Subject: AW: Instance with a larger disk size then Template Hi Imran, you are talking about 3 different levels here to reach your goal of resizing a volume. First level is the volume itself. This is what you can do within CS. After

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
with a larger disk size then Template 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

AW: Instance with a larger disk size then Template

2017-08-03 Thread S . Brüseke - proIO GmbH
more details. Mit freundlichen Grüßen / With kind regards, Swen Brüseke -Ursprüngliche Nachricht- Von: Imran Ahmed [mailto:im...@eaxiom.net] Gesendet: Donnerstag, 3. August 2017 12:00 An: users@cloudstack.apache.org Betreff: Instance with a larger disk size then Template Hi All, I am

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
-Original Message- From: Dag Sonstebo [mailto:dag.sonst...@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

Re: Instance with a larger disk size then Template

2017-08-03 Thread Makrand
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

Re: Instance with a larger disk size then Template

2017-08-03 Thread Dag Sonstebo
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,

Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
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