[
https://issues.apache.org/jira/browse/CLOUDSTACK-4610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762901#comment-13762901
]
ASF subversion and git services commented on CLOUDSTACK-4610:
-------------------------------------------------------------
Commit 13a0619732a34e0fc54b6078d789bde22e8cb0e8 in branch
refs/heads/4.2-forward from [~weizhou]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=13a0619 ]
CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool
(cherry picked from commit 5c141a46fc3f684fd633d8b1b18f708ccccbcff4)
> [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.)
> Affects Versions: 4.1.0, 4.2.0
> Reporter: Wei Zhou
> Assignee: Wei Zhou
> Fix For: 4.2.0, 4.1.2
>
>
> 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