You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Nux! <nu...@li.nux.ro> on 2013/02/15 20:48:31 UTC
customising the ROOT disk
Hi,
When I'm creating a new instance is there a way to specify the size of
the ROOT disk? I see it uses the template's size (which in my case is
tiny) and I need to have it increased.
Pointers?
Thanks,
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
RE: customising the ROOT disk
Posted by Clayton Weise <cw...@iswest.net>.
Not that I'm recommending or endorsing this method but we have done it in the past. Stop the instance, resize the root volume on your hypervisor directly (this process varies based on the hypervisor and storage method used), adjust the size to match in the CloudStack database (specifically in the volumes table), and start the instance.
-----Original Message-----
From: Mathias Mullins [mailto:mathias.mullins@citrix.com]
Sent: Friday, February 15, 2013 12:46 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: customising the ROOT disk
true. you can do that if you have LVM or Volume manager in windows. But you have to be careful. If that volume gets deleted out from under the VM, your VM is pretty much dead.
Thank you,
Matt
On Feb 15, 2013, at 3:38 PM, "Thomas Joseph" <th...@gmail.com>> wrote:
From storage tab and create a data disk with the required size, assign it to the VM and then increase the root volume group.
Regards,
Thomas
-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro]
Sent: 15 February 2013 07:49 PM
To: Cloudstack users
Subject: customising the ROOT disk
Hi,
When I'm creating a new instance is there a way to specify the size of the ROOT disk? I see it uses the template's size (which in my case is
tiny) and I need to have it increased.
Pointers?
Thanks,
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro<http://www.nux.ro>
Re: customising the ROOT disk
Posted by Nux! <nu...@li.nux.ro>.
On 15.02.2013 20:45, Mathias Mullins wrote:
> true. you can do that if you have LVM or Volume manager in windows.
> But you have to be careful. If that volume gets deleted out from under
> the VM, your VM is pretty much dead.
+1, can be something that works if you run some internal stuff and you
know what you're doing, but if you want to sell it to customers ...
looks like a recipe for nightmares.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
Re: customising the ROOT disk
Posted by Mathias Mullins <ma...@citrix.com>.
true. you can do that if you have LVM or Volume manager in windows. But you have to be careful. If that volume gets deleted out from under the VM, your VM is pretty much dead.
Thank you,
Matt
On Feb 15, 2013, at 3:38 PM, "Thomas Joseph" <th...@gmail.com>> wrote:
From storage tab and create a data disk with the required size, assign it to the VM and then increase the root volume group.
Regards,
Thomas
-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro]
Sent: 15 February 2013 07:49 PM
To: Cloudstack users
Subject: customising the ROOT disk
Hi,
When I'm creating a new instance is there a way to specify the size of the ROOT disk? I see it uses the template's size (which in my case is
tiny) and I need to have it increased.
Pointers?
Thanks,
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro<http://www.nux.ro>
RE: customising the ROOT disk
Posted by Thomas Joseph <th...@gmail.com>.
>From storage tab and create a data disk with the required size, assign it to the VM and then increase the root volume group.
Regards,
Thomas
-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro]
Sent: 15 February 2013 07:49 PM
To: Cloudstack users
Subject: customising the ROOT disk
Hi,
When I'm creating a new instance is there a way to specify the size of the ROOT disk? I see it uses the template's size (which in my case is
tiny) and I need to have it increased.
Pointers?
Thanks,
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
Re: customising the ROOT disk
Posted by Nux! <nu...@li.nux.ro>.
On 15.02.2013 20:27, Mathias Mullins wrote:
> What a lot of people do Nux is to create the template with a smaller
> disk. After the first template is created, expand the original running
> VM, and then create a second VM, and so on. I know one person that has
> a CentOS with a 9 (7Gb Root/2GB SWAP), 18GB, and 27GB. And nothing
> except the Root volume changes.
Yes, it's probably my only way out, only make lots more - for other
distros, Windows, BSD etc.
Thanks for all the info, guys.
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
Re: customising the ROOT disk
Posted by Mathias Mullins <ma...@citrix.com>.
What a lot of people do Nux is to create the template with a smaller disk. After the first template is created, expand the original running VM, and then create a second VM, and so on. I know one person that has a CentOS with a 9 (7Gb Root/2GB SWAP), 18GB, and 27GB. And nothing except the Root volume changes.
Thank you,
Matt
On Feb 15, 2013, at 3:23 PM, "Clayton Weise" <cw...@iswest.net>> wrote:
The size of the root disk is set based on the template, and it can't be changed. This has to do with the fact that new root volumes created from a template are actually created as a writable snapshot of the template. This is done to save space and also to create the VM faster, but the penalty is that all instances created from a template share the same size root volume.
-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro]
Sent: Friday, February 15, 2013 11:49 AM
To: Cloudstack users
Subject: customising the ROOT disk
Hi,
When I'm creating a new instance is there a way to specify the size of
the ROOT disk? I see it uses the template's size (which in my case is
tiny) and I need to have it increased.
Pointers?
Thanks,
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro<http://www.nux.ro>
RE: customising the ROOT disk
Posted by Nux! <nu...@li.nux.ro>.
On 15.02.2013 23:05, Nux! wrote:
> On 15.02.2013 20:22, Clayton Weise wrote:
>> The size of the root disk is set based on the template, and it can't
>> be changed. This has to do with the fact that new root volumes
>> created from a template are actually created as a writable snapshot
>> of
>> the template. This is done to save space and also to create the VM
>> faster, but the penalty is that all instances created from a template
>> share the same size root volume.
>
> I understand, but I'm not convinced this makes very much sense with
> today's hardware and with the tradeoff of probably multiplying the
> number of templates I would need to maintain and other disadvantages
> that don't come to mind a.t.m.
> Is this likely to change in future releases?
Hm, this also makes the idea of a "market place" or template repository
quite difficult to implement since you're locked on the template's size.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
RE: customising the ROOT disk
Posted by Nux! <nu...@li.nux.ro>.
On 15.02.2013 20:22, Clayton Weise wrote:
> The size of the root disk is set based on the template, and it can't
> be changed. This has to do with the fact that new root volumes
> created from a template are actually created as a writable snapshot of
> the template. This is done to save space and also to create the VM
> faster, but the penalty is that all instances created from a template
> share the same size root volume.
I understand, but I'm not convinced this makes very much sense with
today's hardware and with the tradeoff of probably multiplying the
number of templates I would need to maintain and other disadvantages
that don't come to mind a.t.m.
Is this likely to change in future releases?
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
RE: customising the ROOT disk
Posted by Clayton Weise <cw...@iswest.net>.
The size of the root disk is set based on the template, and it can't be changed. This has to do with the fact that new root volumes created from a template are actually created as a writable snapshot of the template. This is done to save space and also to create the VM faster, but the penalty is that all instances created from a template share the same size root volume.
-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro]
Sent: Friday, February 15, 2013 11:49 AM
To: Cloudstack users
Subject: customising the ROOT disk
Hi,
When I'm creating a new instance is there a way to specify the size of
the ROOT disk? I see it uses the template's size (which in my case is
tiny) and I need to have it increased.
Pointers?
Thanks,
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro