Sonali,

I update the DB first, then do the instance.

If your using ISCSI, have the XE command ready as there is a brief moment 
before the instance disappears where it will turn red in XenCenter, that is 
when you want to execute the xe command. Its ugly be works. 




> On Sep 29, 2015, at 4:31 AM, Andrija Panic <andrija.pa...@gmail.com> wrote:
> 
> Sonali,
> 
> my experience with KVM (NFS or CEPH...):
> 
> 1. qemu-img rezize.... to some bigger value
> 2. go to DB cloud.volumes table and increase value in the "size" column
> (read output from qemu-img info to get new size)
> 
> If automatic resoruce query is in place as Vadim said, that would be great,
> but anyway, I like to be on safe side with this :)
> 
> Also make sure that volume is not being used at the momemnt (i.e. shutdown
> VM...)
> 
> Best,
> 
> 
> On 29 September 2015 at 10:17, Vadim Kimlaychuk <va...@kickcloud.net> wrote:
> 
>> Sonali,
>> 
>>      If I remember correctly CS queries VM resources, so you don't need
>> to update disk size by hands. CS should do it autmatically
>> 
>> Vadim
>> 
>> On 2015-09-29 11:11, Sonali Jadhav wrote:
>> 
>> I am wondering to expand disk from XenServer and then manually update
>>> cloudstack database. But I am worried what if CloudStack won't recognize
>>> new root disk size or volume later?
>>> 
>>> /Sonali
>>> 
>>> -----Original Message-----
>>> From: Milamber [mailto:milam...@apache.org]
>>> Sent: Wednesday, September 23, 2015 3:31 PM
>>> To: users@cloudstack.apache.org
>>> Subject: Re: expand root disk type volume
>>> 
>>> On 23/09/2015 08:10, cs user wrote:
>>> 
>>> Hi There,
>>>> 
>>>> I'm not sure if this is currently possible for existing root disks.
>>>> Perhaps someone else can advise if it is?
>>>> 
>>>> I believe there has been some recent work to allow the size of the
>>>> root volume to be increased when an instance is deployed however.
>>>> 
>>>> Take a look at:
>>>> 
>>>> http://cloudstack.apache.org/api/apidocs-4.5/user/deployVirtualMachine
>>>> [1]
>>>> .html
>>>> 
>>>> And the rootdisksize parameter.
>>>> 
>>> 
>>> Only with KVM hypervisor
>>> 
>>> I think this is only available through the api (and hence via
>>>> cloudmonkey) at the moment.
>>>> 
>>> 
>>> Possible with Ansible + cloudstack module by resmo
>>> https://github.com/resmo/ansible-cloudstack [2]
>>> 
>>> (note : cloudstack module will be included natively in Ansible 2.0
>>> (currently in alpha1 state))
>>> 
>>> Cheers!
>>> 
>>> On Wed, Sep 23, 2015 at 6:40 AM, Sonali Jadhav <son...@servercentralen.se
>>>> 
>>> wrote:
>>> 
>>> Hi,
>>> 
>>> Why it's not possible to expand root disk type ? I am using ACS 4.5.1
>>> 
>>> I have one windows vm, It has only one disk and I need to expand same.
>>> I am using xenservers, I can expand disk from xencenter, but not from cs.
>>> I am Curious to know why.
>>> 
>>> /sonali
>>> 
>> 
>> 
>> 
>> Links:
>> ------
>> [1] http://cloudstack.apache.org/api/apidocs-4.5/user/deployVirtualMachine
>> [2] https://github.com/resmo/ansible-cloudstack
>> 
> 
> 
> 
> -- 
> 
> Andrija Panić

Reply via email to