Re: [ceph-users] Fixing bad radosgw index

2018-04-23 Thread Matt Benjamin
Mimic (and higher) contain a new async gc mechanism, which should handle this workload internally. Matt On Mon, Apr 23, 2018 at 2:55 PM, David Turner wrote: > When figuring out why space is not freeing up after deleting buckets and > objects in RGW, look towards the RGW

Re: [ceph-users] Fixing bad radosgw index

2018-04-23 Thread David Turner
When figuring out why space is not freeing up after deleting buckets and objects in RGW, look towards the RGW Garbage Collection. This has come up on the ML several times in the past. I am almost finished catching up on a GC of 200 Million objects that was taking up a substantial amount of space

Re: [ceph-users] Fixing bad radosgw index

2018-04-16 Thread Robert Stanford
This doesn't work for me: for i in `radosgw-admin bucket list`; do radosgw-admin bucket unlink --bucket=$i --uid=myuser; done (tried with and without '=') Errors for each bucket: failure: (2) No such file or directory2018-04-16 15:37:54.022423 7f7c250fbc80 0 could not get bucket info for

Re: [ceph-users] Fixing bad radosgw index

2018-04-16 Thread Casey Bodley
On 04/14/2018 12:54 PM, Robert Stanford wrote:  I deleted my default.rgw.buckets.data and default.rgw.buckets.index pools in an attempt to clean them out.  I brought this up on the list and received replies telling me essentially, "You shouldn't do that." There was however no helpful

[ceph-users] Fixing bad radosgw index

2018-04-14 Thread Robert Stanford
I deleted my default.rgw.buckets.data and default.rgw.buckets.index pools in an attempt to clean them out. I brought this up on the list and received replies telling me essentially, "You shouldn't do that." There was however no helpful advice on recovering. When I run 'radosgw-admin bucket