cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashanth Reddy Mandadi <prashanthreddy.mand...@citrix.com>
Subject RE: Resize Primary Storage
Date Tue, 02 Jul 2013 08:43:24 GMT
Can you do

xe sr-list params=all

The above command will give the list of all the SR's and their physical size. We need to confirm
if the correct size is reported on xenserver.

Note: I don't have a 4.1 setup but I have tested your scenario on 3.0.x setup and it works
without any issues ( the storage size was updated once I unmanaged and managed the Cluster
from UI). 

-Prashanth

-----Original Message-----
From: iliyas shirol [mailto:iliyas.shirol@gmail.com] 
Sent: Tuesday, July 02, 2013 1:01 PM
To: users@cloudstack.apache.org
Subject: Re: Resize Primary Storage

The output of the above command is blank.


On Tue, Jul 2, 2013 at 11:54 AM, Prashanth Reddy Mandadi < prashanthreddy.mandadi@citrix.com>
wrote:

> Can you do
>
> #Xe sr-list params=all name-description=200
>
> On one of the Xenserver connected to this storage pool?
>
> -Prashanth
>
> -----Original Message-----
> From: iliyas shirol [mailto:iliyas.shirol@gmail.com]
> Sent: Tuesday, July 02, 2013 8:02 AM
> To: users@cloudstack.apache.org
> Subject: Re: Resize Primary Storage
>
> No. Its not updated. Please find the details as below,
>
> mysql> select * from op_host_capacity where host_id = '200';
>
> +----+---------+----------------+--------+------------+---------------+-------------------+----------------+---------------+----------------+---------------------+---------------------+
> | id | host_id | data_center_id | pod_id | cluster_id | used_capacity 
> | |
> reserved_capacity | total_capacity | capacity_type | capacity_state |
> update_time         | created             |
>
> +----+---------+----------------+--------+------------+---------------+-------------------+----------------+---------------+----------------+---------------------+---------------------+
> |  3 |     200 |              1 |      1 |          1 |  184863948800 |
>             0 |   536858329088 |             3 | Enabled        |
> 2013-07-01 20:55:02 | 2013-06-27 15:24:22 |
>
> +----+---------+----------------+--------+------------+---------------+-------------------+----------------+---------------+----------------+---------------------+---------------------+
> 1 row in set (0.00 sec)
>
> mysql> select * from storage_pool where id = '200';
>
> +-----+-------------+-------------+-----------+------+----------------+--------+------------+-----------------+----------------+--------------+-----------+--------------+---------------------+---------+-------------+--------+---------------------+-------+
>
> | id  | name        | uuid        | pool_type | port | data_center_id |
> pod_id | cluster_id | available_bytes | capacity_bytes | host_address |
> user_info | path         | created             | removed | update_time |
> status | storage_provider_id | scope |
>
> +-----+-------------+-------------+-----------+------+----------------+--------+------------+-----------------+----------------+--------------+-----------+--------------+---------------------+---------+-------------+--------+---------------------+-------+
>
> | 200 | vol_500g_hp | vol_500g_hp | PreSetup  |    0 |              1 |
>  1 |          1 |    346688585728 |   536858329088 | localhost    | NULL
>    | /vol_500g_hp | 2013-06-27 15:24:22 | NULL    | NULL        | Up     |
>                NULL | NULL  |
>
> +-----+-------------+-------------+-----------+------+----------------+--------+------------+-----------------+----------------+--------------+-----------+--------------+---------------------+---------+-------------+--------+---------------------+-------+
>
> 1 row in set (0.00 sec)
>
> It should be 1TB approx.
>
>
> On Tue, Jul 2, 2013 at 1:18 AM, Prashanth Reddy Mandadi < 
> prashanthreddy.mandadi@citrix.com> wrote:
>
> > AFAIK the capacity checker thread will update the op_host_capacity.
> >
> > Can you quickly check if the op_host_capacity is updated for the 
> > storage pool with the current size?
> >
> > Select * from op_host_capacity where host_id=#;
> >
> > The new size may not reflected in storage_pool table, can you also 
> > do
> >
> > Select * from storage_pool where id=#;
> >
> > -Prashanth
> >
> >
> > -----Original Message-----
> > From: iliyas shirol [mailto:iliyas.shirol@gmail.com]
> > Sent: Tuesday, July 02, 2013 12:07 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Resize Primary Storage
> >
> > No luck.
> >
> > Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.
> >
> >
> > On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi < 
> > prashanthreddy.mandadi@citrix.com> wrote:
> >
> > > Try to unmanage the cluster from CloudStack UI and Manage it back.
> > >
> > > -Prashanth
> > >
> > > -----Original Message-----
> > > From: iliyas shirol [mailto:iliyas.shirol@gmail.com]
> > > Sent: Monday, July 01, 2013 2:53 PM
> > > To: users@cloudstack.apache.org
> > > Subject: Reg: Resize Primary Storage
> > >
> > > Greetings !
> > >
> > >
> > > We are using a Primary storage of 1TB from iSCSI SAN. We increased 
> > > the size of the assigned LUN to 2TB which is getting reflected at 
> > > the hypervisros after a refresh by iscsiadm.
> > >
> > > What is the way in which we can refresh the metadata of CloudStack ?
> > > Couple of folks on the forums suggest to modify the entries in 
> > > storage_pool and op_host_Capacity tables. Is this the only 
> > > availble
> way ?
> > >
> > > Thanks.
> > >
> > > --
> > > Iliyas
> > >
> >
>
>
>
> --
> -
> Md. Iliyas Shirol
> Mobile : +91 9902 977 800
> Google : iliyas.shirol@ gmail.com
>



--
-
Md. Iliyas Shirol
Mobile : +91 9902 977 800
Google : iliyas.shirol@ gmail.com

Mime
View raw message