Hi 

Could someone please explain / show how to troubleshoot the space usage in Ceph 
and how to reclaim the unused space? 

I have a small cluster with 40 osds, replica of 2, mainly used as a backend for 
cloud stack as well as the S3 gateway. The used space doesn't make any sense to 
me, especially the rgw pool, so I am seeking help. 

Here is what I found from the client: 

Ceph -s shows the 

usage: 89 TiB used, 24 TiB / 113 TiB avail 

Ceph df shows: 

Primary-ubuntu-1 5 27 TiB 90.11 3.0 TiB 7201098 
Primary-ubuntu-1-ssd 57 1.2 TiB 89.62 143 GiB 359260 
.rgw.buckets 19 15 TiB 83.73 3.0 TiB 8742222 

the usage of the Primary-ubuntu-1 and Primary-ubuntu-1-ssd is in line with my 
expectations. However, the .rgw.buckets pool seems to be using way too much. 
The usage of all rgw buckets shows 6.5TB usage (looking at the size_kb values 
from the "radosgw-admin bucket stats"). I am trying to figure out why 
.rgw.buckets is using 15TB of space instead of the 6.5TB as shown from the 
bucket usage. 

Thanks 

Andrei 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to