You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2013/09/13 03:09:12 UTC

Problem with cloud.storage_pool's used_bytes

Hi,

I just set up a single zone with one KVM host using master.

My CPVM and SSVM are up and running nicely.

When I look at the storage_pool table, however, I'm concerned with what I
see for the used_bytes field: 18,218,356,736 (below). This seems way too
large (almost consuming all of the local space on my KVM host). I wonder if
this isn't instead available_bytes. I believe available_bytes was changed
to used_bytes in 4.2 and it looks like this may not be working properly in
this scenario.

Thoughts?

Thanks!

1 ubuntu Local Storage a4f6428e-8cfd-41f8-b755-b177ad0315f3 Filesystem 0 1 1
1 18218356736 20332810240 192.168.233.10 /var/lib/libvirt/images 2013-09-13
00:47:39 Up DefaultPrimary HOST 0



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: Problem with cloud.storage_pool's used_bytes

Posted by Mike Tutkowski <mi...@solidfire.com>.
Thanks, Wei

I assume this is also present in 4.2? If not, it seems like a serious
problem.


On Fri, Sep 13, 2013 at 12:45 AM, Wei ZHOU <us...@gmail.com> wrote:

> sorry, the url is
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=5c141a46fc3f684fd633d8b1b18f708ccccbcff4
>
>
> 2013/9/13 Wei ZHOU <us...@gmail.com>
>
> > Mike,
> > it is  already fixed in master and 4.2-forward branch.
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=7bff499bd3625f8a75a1c93cb9e3e2c90955df5e
> >
> >
> > 2013/9/13 Mike Tutkowski <mi...@solidfire.com>
> >
> >> Hi,
> >>
> >> I just set up a single zone with one KVM host using master.
> >>
> >> My CPVM and SSVM are up and running nicely.
> >>
> >> When I look at the storage_pool table, however, I'm concerned with what
> I
> >> see for the used_bytes field: 18,218,356,736 (below). This seems way too
> >> large (almost consuming all of the local space on my KVM host). I wonder
> >> if
> >> this isn't instead available_bytes. I believe available_bytes was
> changed
> >> to used_bytes in 4.2 and it looks like this may not be working properly
> in
> >> this scenario.
> >>
> >> Thoughts?
> >>
> >> Thanks!
> >>
> >> 1 ubuntu Local Storage a4f6428e-8cfd-41f8-b755-b177ad0315f3 Filesystem 0
> >> 1 1
> >> 1 18218356736 20332810240 192.168.233.10 /var/lib/libvirt/images
> >> 2013-09-13
> >> 00:47:39 Up DefaultPrimary HOST 0
> >>
> >>
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkowski@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the
> >> cloud<http://solidfire.com/solution/overview/?video=play>
> >> *™*
> >>
> >
> >
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: Problem with cloud.storage_pool's used_bytes

Posted by Wei ZHOU <us...@gmail.com>.
sorry, the url is
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=5c141a46fc3f684fd633d8b1b18f708ccccbcff4


2013/9/13 Wei ZHOU <us...@gmail.com>

> Mike,
> it is  already fixed in master and 4.2-forward branch.
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=7bff499bd3625f8a75a1c93cb9e3e2c90955df5e
>
>
> 2013/9/13 Mike Tutkowski <mi...@solidfire.com>
>
>> Hi,
>>
>> I just set up a single zone with one KVM host using master.
>>
>> My CPVM and SSVM are up and running nicely.
>>
>> When I look at the storage_pool table, however, I'm concerned with what I
>> see for the used_bytes field: 18,218,356,736 (below). This seems way too
>> large (almost consuming all of the local space on my KVM host). I wonder
>> if
>> this isn't instead available_bytes. I believe available_bytes was changed
>> to used_bytes in 4.2 and it looks like this may not be working properly in
>> this scenario.
>>
>> Thoughts?
>>
>> Thanks!
>>
>> 1 ubuntu Local Storage a4f6428e-8cfd-41f8-b755-b177ad0315f3 Filesystem 0
>> 1 1
>> 1 18218356736 20332810240 192.168.233.10 /var/lib/libvirt/images
>> 2013-09-13
>> 00:47:39 Up DefaultPrimary HOST 0
>>
>>
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkowski@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the
>> cloud<http://solidfire.com/solution/overview/?video=play>
>> *™*
>>
>
>

Re: Problem with cloud.storage_pool's used_bytes

Posted by Wei ZHOU <us...@gmail.com>.
Mike,
it is  already fixed in master and 4.2-forward branch.
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=7bff499bd3625f8a75a1c93cb9e3e2c90955df5e


2013/9/13 Mike Tutkowski <mi...@solidfire.com>

> Hi,
>
> I just set up a single zone with one KVM host using master.
>
> My CPVM and SSVM are up and running nicely.
>
> When I look at the storage_pool table, however, I'm concerned with what I
> see for the used_bytes field: 18,218,356,736 (below). This seems way too
> large (almost consuming all of the local space on my KVM host). I wonder if
> this isn't instead available_bytes. I believe available_bytes was changed
> to used_bytes in 4.2 and it looks like this may not be working properly in
> this scenario.
>
> Thoughts?
>
> Thanks!
>
> 1 ubuntu Local Storage a4f6428e-8cfd-41f8-b755-b177ad0315f3 Filesystem 0 1
> 1
> 1 18218356736 20332810240 192.168.233.10 /var/lib/libvirt/images 2013-09-13
> 00:47:39 Up DefaultPrimary HOST 0
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>

Re: Problem with cloud.storage_pool's used_bytes

Posted by Mike Tutkowski <mi...@solidfire.com>.
So, being that I'm new to KVM, I'm wondering if I didn't somehow do this to
myself by not restoring from a snapshot when I created a new CloudStack
environment (I cleaned out the CS DB, but did not start over from a clean
snapshot of my KVM host).

It says my KVM local storage for CloudStack is here:

/var/lib/libvirt/images

When I look in Virtual Machine Manager, however, it only shows the VMs that
I would expect to be running: CPVM and SSVM (one of each).

Is it possible there are other old, unused VMs lying around from my
previous CS install and, if so, how might I be able to detect those and
delete them?

It's easy to find out and delete with XenServer and ESX...I'm just not that
familiar with how to do this with KVM.

Thanks!


On Thu, Sep 12, 2013 at 7:09 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Hi,
>
> I just set up a single zone with one KVM host using master.
>
> My CPVM and SSVM are up and running nicely.
>
> When I look at the storage_pool table, however, I'm concerned with what I
> see for the used_bytes field: 18,218,356,736 (below). This seems way too
> large (almost consuming all of the local space on my KVM host). I wonder if
> this isn't instead available_bytes. I believe available_bytes was changed
> to used_bytes in 4.2 and it looks like this may not be working properly in
> this scenario.
>
> Thoughts?
>
> Thanks!
>
> 1 ubuntu Local Storage a4f6428e-8cfd-41f8-b755-b177ad0315f3 Filesystem 0 1
> 1 1 18218356736 20332810240 192.168.233.10 /var/lib/libvirt/images 2013-09-13
> 00:47:39 Up DefaultPrimary HOST 0
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*