Github user jayakarteek commented on the issue: https://github.com/apache/cloudstack/pull/1844 Tested the scenario. results are as below select * from storage_pool; # id, name, uuid, pool_type, port, data_center_id, pod_id, cluster_id, used_bytes, capacity_bytes, host_address, user_info, path, created, removed, update_time, status, storage_provider_name, scope, hypervisor, managed, capacity_iops '11', 'pr_2', '80a753bb-6fad-3938-b657-ae62f6119804', 'NetworkFilesystem', '2049', '1', NULL, NULL, '4140196372480', '5902284800000', '10.147.28.7', NULL, '/export/home/jayakarteek/PR', '2017-03-28 05:54:28', NULL, NULL, 'Up', 'DefaultPrimary', 'ZONE', 'VMware', '0', NULL select * from op_host_capacity; **After attaching disk** id, host_id, data_center_id, pod_id, cluster_id, used_capacity, reserved_capacity, total_capacity, capacity_type, capacity_state, update_time, created '11', '11', '1', NULL, NULL, '18253611008', '0', '11804569600000', '3', 'Enabled', '2017-03-28 05:57:58', '2017-03-28 05:57:58' select * from op_host_capacity; **After detaching and deleting the disk** # id, host_id, data_center_id, pod_id, cluster_id, used_capacity, reserved_capacity, total_capacity, capacity_type, capacity_state, update_time, created '11', '11', '1', NULL, NULL, '0', '0', '11804569600000', '3', 'Enabled', '2017-03-28 06:22:58', '2017-03-28 05:57:58'
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---