Sateesh Chodapuneedi created CLOUDSTACK-5061:
------------------------------------------------
Summary: Cloudstack doesn't consider storage overprovisioning
factor when using thin Provisioning over VMWare VMFS datastores
Key: CLOUDSTACK-5061
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5061
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Storage Controller
Affects Versions: 4.2.0
Reporter: Sateesh Chodapuneedi
Assignee: Sateesh Chodapuneedi
Fix For: 4.2.1
Cloudstack does not let us to create new VMs as it cannot calculate a free
space correctly when using Thin Provisioning with VMware. It calculates space
from the size of the volumes rather then what is truly utilized on the SAN.
DETAILS
===================
1. DB
mysql> select p.name, p.pool_type, p.used_bytes, p.capacity_bytes, sum(v.size)
as volumes_allocated from volumes v join storage_pool p on v.pool_id=p.id where
v.removed is null group by v.pool_id;
-------------------------------------------------------------------------------------
name pool_type used_bytes capacity_bytes volumes_allocated
-------------------------------------------------------------------------------------
PrimaryStorage1 VMFS 804432904192 1023812829184 940446842880
PrimaryStorage2 VMFS 901673648128 1023812829184 347791687680
-------------------------------------------------------------------------------------
2 rows in set (0.01 sec)
2. vCenter reports as the datastore size, storage allocated, and storage used
Capacity : 953.50GB
Provisioned Space : 944.76GB
Free Space : 751.60GB
--
This message was sent by Atlassian JIRA
(v6.1#6144)