On Wednesday, 16 March 2016, Derek Yarnell <de...@umiacs.umd.edu> wrote:

> Hi,
>
> We have a user with a 50GB quota and has now a single bucket with 20GB
> of files.  They had previous buckets created and removed but the quota
> has not decreased.  I understand that we do garbage collection but it
> has been significantly longer than the defaults that we have not
> overridden.  They get 403 QuotaExceeded when trying to write additional
> data to a new bucket or the existing bucket.
>
> # radosgw-admin user info --uid=username
> ...
> "user_quota": {
>         "enabled": true,
>         "max_size_kb": 52428800,
>         "max_objects": -1
>     },
>
> # radosgw-admin bucket stats --bucket=start
> ...
> "usage": {
>         "rgw.main": {
>             "size_kb": 21516505,
>             "size_kb_actual": 21516992,
>             "num_objects": 243
>         }
>     },
>
> # radosgw-admin user stats --uid=username
> ...
> {
>     "stats": {
>         "total_entries": 737,
>         "total_bytes": 55060794604,
>         "total_bytes_rounded": 55062102016
>     },
>     "last_stats_sync": "2016-03-16 14:16:25.205060Z",
>     "last_stats_update": "2016-03-16 14:16:25.190605Z"
> }
>
> Thanks,
> derek
>
> --
> Derek T. Yarnell
> University of Maryland
> Institute for Advanced Computer Studies
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com <javascript:;>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

 Hi,
It's possible that somebody changed the owner of some bucket. But all
objects in that bucket still belongs to this user. That way you can get
quota exceeded. We had the same situation.

-- 
Marius Vaitiekūnas
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to