Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF5BF1060F for ; Tue, 2 Jul 2013 02:32:08 +0000 (UTC) Received: (qmail 48477 invoked by uid 500); 2 Jul 2013 02:32:03 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 48446 invoked by uid 500); 2 Jul 2013 02:32:03 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 47756 invoked by uid 99); 2 Jul 2013 02:31:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 02:31:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of iliyas.shirol@gmail.com designates 74.125.83.49 as permitted sender) Received: from [74.125.83.49] (HELO mail-ee0-f49.google.com) (74.125.83.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 02:31:54 +0000 Received: by mail-ee0-f49.google.com with SMTP id b57so2402108eek.22 for ; Mon, 01 Jul 2013 19:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uLnoQYctHFOYaxYBPhUieBAIFx27kusayrP1XdbqsqM=; b=EOe3wp8ajG6MhvO2wskBaJNYuoK4F+UoJViQhgPJY97LiJU4wEL6Bken7l4EWoZ8k6 4hHhBq76MiRQPm/4StSulwTvlldoA2mtSUV89NDCcKYbkknkKFfiXQODOtTCcpunSY6z vbRTnhr0OL6ohHsgWBtZGEVnA9hKP5rN+O+71Qtiz3A6dN2bBTy3jZ0MroJ0eKV677My PEx/vBdFEJ4bvIyr+5KJotaPfPl98gmUtUYe/NE5ZgWZAKYYkUEExa0Ea8iCjB+kc6jg qRo06x223xFBwjyvqssw1+K+czOvGv6hAKctL7fNu8IJNfZ7JO750H8eV5tOmkwCWvuw pc3g== MIME-Version: 1.0 X-Received: by 10.15.54.67 with SMTP id s43mr23864455eew.133.1372732294102; Mon, 01 Jul 2013 19:31:34 -0700 (PDT) Received: by 10.15.99.201 with HTTP; Mon, 1 Jul 2013 19:31:33 -0700 (PDT) In-Reply-To: <23E8090FBF829E4987158DA05FA10E181275E617@SINPEX01CL01.citrite.net> References: <23E8090FBF829E4987158DA05FA10E181275E14E@SINPEX01CL01.citrite.net> <23E8090FBF829E4987158DA05FA10E181275E617@SINPEX01CL01.citrite.net> Date: Tue, 2 Jul 2013 08:01:33 +0530 Message-ID: Subject: Re: Resize Primary Storage From: iliyas shirol To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c384f6c32c2404e07e245a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c384f6c32c2404e07e245a Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c384f6c32c2404e07e245a--