Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D27ECF96 for ; Wed, 17 Jul 2013 14:13:47 +0000 (UTC) Received: (qmail 47356 invoked by uid 500); 17 Jul 2013 14:13:46 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 47093 invoked by uid 500); 17 Jul 2013 14:13:46 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 47085 invoked by uid 99); 17 Jul 2013 14:13:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 14:13:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dean.kamali@gmail.com designates 209.85.128.179 as permitted sender) Received: from [209.85.128.179] (HELO mail-ve0-f179.google.com) (209.85.128.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 14:13:42 +0000 Received: by mail-ve0-f179.google.com with SMTP id d10so1526244vea.10 for ; Wed, 17 Jul 2013 07:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=8jGAsTWmCzagRYAMn4ezby6XfNI1RzUotXGDoeM7C80=; b=n+cRy+eSCQdrfjh7xP225qp1YQkcHkI3bfK/dOluSB0EmoilgwlaCbLbY2VPFL758u K/9LmjM0YCr+sU+ziLC95BBHOwWBSxpPORgNll5kKm7qScZo8O+G0sAjA2+cEEbk2U3i qGI4afk8X0RSsVXFxQ8+Ac0KWgN8BIVcTMLPBUsqJ2raUmLxDKl33mxPvvkYK+swJ4Ml s5N1FccWK4eTCY/8H6+vLySPwaEB3xRb9qzlbjxy8hu4ICj6UkFH3AHDFSi+uPoACZkD rseRtaxK5JcCGMRVICOZS4/AOA78S995tv5/UFETwq38hI6r3aHDuYwPWKKcxia1Wp7p MN3A== X-Received: by 10.59.0.2 with SMTP id au2mr2151628ved.83.1374070401364; Wed, 17 Jul 2013 07:13:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.169.132 with HTTP; Wed, 17 Jul 2013 07:13:01 -0700 (PDT) In-Reply-To: References: <20130715043838.GA1313@cloud-2.local> From: Dean Kamali Date: Wed, 17 Jul 2013 10:13:01 -0400 Message-ID: Subject: Re: Wrong storage capacity issue reported To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=047d7bd750b22b79d404e1b5b217 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bd750b22b79d404e1b5b217 Content-Type: text/plain; charset=ISO-8859-1 I think we should file another bug for NFS, I'm having the same issue here, showing double amount of storage, I have a 2TB lun for primary storage, however in CS Management console its showing 4TB. CS 4.1 On Wed, Jul 17, 2013 at 5:32 AM, Indra Pramana wrote: > Dear Wido and all, > > FYI, I managed to resolve the problem by installing latest version of > libvirt. Apparently, the libvirt version that I was using (1.0.2), which I > got from here: > > > http://blog.widodh.nl/2013/06/a-quick-note-on-running-cloudstack-with-rbd-on-ubuntu-12-04/ > > was the culprit. I downloaded the latest libvirt version (version 1.1.0) > from their FTP site: > > ftp://libvirt.org/libvirt/libvirt-1.1.0.tar.gz > > Install the latest librbd-dev package: > > apt-get install librbd-dev > > Then compile libvirt with storage RBD enabled: > > ./autogen.sh --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin > --with-storage-rbd > > Restart the KVM host after it's done. > > virsh pool-info is now showing the correct "Allocation" amount: > > root@hv-kvm-02:~# virsh pool-info d433809b-01ea-3947-ba0f-48077244e4d6 > Name: d433809b-01ea-3947-ba0f-48077244e4d6 > UUID: d433809b-01ea-3947-ba0f-48077244e4d6 > State: running > Persistent: no > Autostart: no > Capacity: 5.47 TiB > Allocation: 328.00 B > Available: 5.47 TiB > > Tried to create a VM instance, and now the VM can utilise the RBD storage > pool. No more "insufficient space on pool" error message on the log. > > The only issue is that, I noted that only the DATADISK volume is created on > the RBD primary storage pool. The ROOT volume of that VM is still created > on the NFS primary storage pool. > > Is there a way to ensure that the ROOT volume will also be created on the > RBD primary storage pool instead of the NFS pool? > > Looking forward to your reply, thank you. > > Cheers. > > > > On Wed, Jul 17, 2013 at 12:42 PM, Indra Pramana wrote: > > > Dear Wido and all, > > > > On Tue, Jul 16, 2013 at 10:49 AM, Indra Pramana wrote: > > > >> Hi Prasanna, > >> > >> On Mon, Jul 15, 2013 at 12:38 PM, Prasanna Santhanam >wrote: > >> > >>> It might be a bug on ceph but the thread you referenced was resolved. > >>> See here: http://markmail.org/message/mkm2fqyawmwpufsc > >>> > >>> If it still persists, can you please file a bug on JIRA? > >>> > >> > >> As suggested, I have filed a bug on JIRA. > >> > >> https://issues.apache.org/jira/browse/CLOUDSTACK-3542 > >> > >> Appreciate any advise on how to resolve the problem. Wido, any comments > >> from your end? :) > >> > > > > Anyone has any clues on how to resolve this problem? It is a show-stopper > > for me, I can't proceed further without able to get my RBD primary > storage > > to work. > > > > Any advice is greatly appreciated. > > > > Looking forward to your reply, thank you. > > > > Cheers. > > > > > --047d7bd750b22b79d404e1b5b217--