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.mand...@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.shi...@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.mand...@citrix.com> wrote: > > > Try to unmanage the cluster from CloudStack UI and Manage it back. > > > > -Prashanth > > > > -----Original Message----- > > From: iliyas shirol [mailto:iliyas.shi...@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