[ceph-users] Incorrect pool usage statistics

Gregory Farnum gfarnum at redhat.com
Sun Nov 19 01:47:08 PST 2017


This usually means there are snapshotted objects still sticking around.
It's turned out to be quite the usability bugbear, but we don't have a
solution yet...
-Greg

On Wed, Nov 15, 2017 at 7:23 AM Karun Josy <karunjosy1 at gmail.com> wrote:

> Help?!
>
> There seems to be many objects still present in the pool :
> ---------------------
> $ rados df
> POOL_NAME   USED   OBJECTS CLONES  COPIES  MISSING_ON_PRIMARY UNFOUND
> DEGRADED RD_OPS    RD    WR_OPS    WR
> vm                     886       105      0     315                  0
>    0        0    943399 1301M     39539 30889M
> ecpool         403G       388652 3    16701     2720564
> 0       0        0 156972536 1081G 203383441  4074G
> imagepool        89014M   22485      0   67455                  0       0
>       0   7856029  708G  13140767   602G
> template           115G        29848     43  149240                  0
>    0        0  66138389 2955G   1123900   539G
>
>
> Karun Josy
>
> On Tue, Nov 14, 2017 at 4:16 AM, Karun Josy <karunjosy1 at gmail.com> wrote:
>
>> Hello,
>>
>> Recently, I deleted all the disks from an erasure pool 'ecpool'.
>> The pool is empty. However the space usage shows around 400GB.
>> What might be wrong?
>>
>>
>> $ rbd ls -l ecpool
>> $ $ ceph df
>>
>> GLOBAL:
>>     SIZE       AVAIL      RAW USED     %RAW USED
>>     19019G     16796G        2223G         11.69
>> POOLS:
>>     NAME            ID     USED       %USED     MAX AVAIL     OBJECTS
>>     template     1        227G      1.59         2810G       58549
>>     vm             21          0         0         4684G           2
>>     ecpool          33       403G      2.79        10038G      388652
>>     imagepool       34     90430M      0.62         4684G       22789
>>
>>
>>
>> Karun Josy
>>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20171119/f20153eb/attachment.html>


More information about the ceph-users mailing list