You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Wei Zhou (JIRA)" <ji...@apache.org> on 2013/09/05 11:12:51 UTC

[jira] [Created] (CLOUDSTACK-4610) [KVM] available_bytes of storage pool is incorrect in database

Wei Zhou created CLOUDSTACK-4610:
------------------------------------

             Summary: [KVM] available_bytes of storage pool is incorrect in database
                 Key: CLOUDSTACK-4610
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4610
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: Wei Zhou
            Assignee: Wei Zhou


on host
root@cs-kvm006:~# df
Filesystem                           1K-blocks       Used  Available Use% Mounted on
172.16.5.30:/storage/cs-105-primary 7811748864 1060451328 6751297536  14% /mnt/c7e524e3-5861-3001-bf5a-b304e55892d8
root@cs-kvm006:~# virsh pool-list --details
Name                                  State    Autostart  Persistent    Capacity   Allocation   Available
---------------------------------------------------------------------------------------------------------
c7e524e3-5861-3001-bf5a-b304e55892d8  running  no         no            7.28 TiB  1011.33 GiB    6.29 TiB

in database,
mysql> select * from storage_pool;
+-----+---------+--------------------------------------+-------------------+------+----------------+--------+------------+-----------------+----------------+--------------+-----------+-------------------------+---------------------+---------+-------------+--------+---------------------+-------+
| 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 | PRIMARY | c7e524e3-5861-3001-bf5a-b304e55892d8 | NetworkFilesystem | 2049 |              1 |      1 |          1 |   1082772160512 |  7999230836736 | 172.16.5.30  | NULL      | /storage/cs-105-primary | 2013-09-04 09:13:30 | NULL    | NULL        | Up     |                NULL | NULL  |
+-----+---------+--------------------------------------+-------------------+------+----------------+--------+------------+-----------------+----------------+--------------+-----------+-------------------------+---------------------+---------+-------------+--------+---------------------+-------+
1 row in set (0.00 sec)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira