The general talk about the rados cleanup command is to clean things up after benchmarking. Could this command also be used for deleting an old RGW bucket or an RBD. For instance, a bucket with a prefix of `25ff9eff-058b-41e3-8724-cfffecb979c0.9709451.1` such that all objects in the default.rgw.buckets.data pool for that bucket start with that string. Could I run [1] this command to clean all of those up? Listing the full pool contents and grepping out for that string returns 100M objects and every way I've come up with to iterate over that list will take us about a month to get through it. I would think this has a decent chance to work, except for the description of the [2] cleanup option from the rados man page.
Perhaps I'm also barking up the wrong tree. Does anyone have a better way to delete large RBDs or buckets?
[1] rados -p default.rgw.buckets.data cleanup --prefix 25ff9eff-058b-41e3-8724-cfffecb979c0.9709451.1
[2] cleanup [ --run-name run_name ] [ --prefix prefix ]
Clean up a previous benchmark operation. Note: the default run-name is "benchmark_last_metadata"
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com