Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B25081034A for ; Mon, 11 Nov 2013 12:51:20 +0000 (UTC) Received: (qmail 23620 invoked by uid 500); 11 Nov 2013 12:51:20 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 23334 invoked by uid 500); 11 Nov 2013 12:51:19 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 23250 invoked by uid 500); 11 Nov 2013 12:51:18 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 23240 invoked by uid 99); 11 Nov 2013 12:51:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 12:51:17 +0000 Date: Mon, 11 Nov 2013 12:51:17 +0000 (UTC) From: "Sanjeev N (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-5061) Cloudstack doesn't consider storage overprovisioning factor when using thin Provisioning over VMWare VMFS datastores MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sanjeev N closed CLOUDSTACK-5061. --------------------------------- Verified on latest 4.2.1 build with commit 8f76c49a994a630bfdd583c3515ac06c11c7c662, Works fine. > 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 > Priority: Critical > 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)