You'ld need to do the very same thing than you'ld do on a physical host. pvcreate the new datadisk, vgextend and lvresize your partition(s).
> Seems like its the only way to do that. So I created a another data-disk > and attached it to the VM. But still the df command shows me same > information. > > > > On Tue, Oct 21, 2014 at 12:45 PM, Erik Weber <terbol...@gmail.com> wrote: > > > If you're using some sort of logical volume manager inside the vm you can > > add an additional disk and resize it. > > For Linux the most common is LVM, for Windows I believe you have to use > > dynamic disks (not sure about support for booting from dynamic disks?). > > > > -- > > Erik > > > > On Tue, Oct 21, 2014 at 9:12 AM, Asanka sanjaya Herath <angal...@gmail.com > > > > > wrote: > > > > > Hi Erik, > > > > > > I'm using xenserver. So I think I will not be able to do that. One of my > > > instance is running out of root disk capacity. I took a snapshot of that > > > disk and created a template from it. Then I crated a new instance and > > still > > > it has the same disk capacity. What can I do now? > > > > > > > > > > > > On Tue, Oct 21, 2014 at 12:25 PM, Erik Weber <terbol...@gmail.com> > > wrote: > > > > > > > The design spec is here: > > > > > > > > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Root+Resize+Support > > > > > > > > You can find the Jira ticket with a lot of information here: > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-6181 > > > > > > > > As far as I can see, you can atleast resize the disk by using the API. > > UI > > > > tends to lag a bit behind new API functionality, so I would hope for it > > > to > > > > arrive in a later version. > > > > > > > > But, after reading through the ticket it seems that root disk resize > > > might > > > > only be supported on KVM, which hypervisor are you using? > > > > > > > > -- > > > > Erik > > > > > > > > > > > > On Tue, Oct 21, 2014 at 8:31 AM, Asanka sanjaya Herath < > > > angal...@gmail.com > > > > > > > > > wrote: > > > > > > > > > Hi Erik, > > > > > I'm using the master branch. Could you please tell me how can I do > > > that? > > > > > > > > > > Thank you. > > > > > > > > > > On Tue, Oct 21, 2014 at 11:59 AM, Erik Weber <terbol...@gmail.com> > > > > wrote: > > > > > > > > > > > On Tue, Oct 21, 2014 at 7:54 AM, Asanka sanjaya Herath < > > > > > angal...@gmail.com > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > I'm using the latest cloudstack(Cloned from github and built from > > > > > > source). > > > > > > > I need to know whether there is any way to re-size the root disk > > > > > capacity > > > > > > > after creating the instance.(Using UI or using api). > > > > > > > > > > > > > > > > > > > > Which branch did you build? > > > > > > > > > > > > I believe root disk resizing has been there since 4.4, but it might > > > be > > > > > > lacking if you're using managed storage. > > > > > > > > > > > > Mike can probably chime in on the latter > > > > > > > > > > > > -- > > > > > > Erik > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Thanks, > > > > > Regards, > > > > > ASH > > > > > > > > > > > > > > > > > > > > > -- > > > Thanks, > > > Regards, > > > ASH > > > > > > > >