On 22/05/18 18:28, David Turner wrote:
From my experience, that would cause you some troubles as it would
throw the entire pool into the deletion queue to be processed as it
cleans up the disks and everything. I would suggest using a pool
listing from `rados -p .rgw.buckets ls` and iterate on that using some
scripts around the `rados -p .rgw.buckest rm <obj-name>` command that
you could stop, restart at a faster pace, slow down, etc. Once the
objects in the pool are gone, you can delete the empty pool without any
problems. I like this option because it makes it simple to stop it if
you're impacting your VM traffic.
Just to finish the story here; thanks again for the advice - it worked well.
Generating the list of objects took around 6 hours but didn't cause any
issues doing so. I had a sleep 0.1 between each rm iteration. Probably a
bit on the conservative side but didn't cause me any problems either and
was making acceptable progress so I didn't change it.
3 weeks later and the pool was more or less empty (I avoided ~600
objects/400KiB with $ characters in the name that I couldn't be bothered
handling automatically) so I deleted the pools. I did get some slow
request warnings immediately after deleting the pools but they went away
in a minute or so.
Thanks,
Simon.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com