thx. I tried with: ceph config set mon rgw_delete_multi_obj_max_num 10000 ceph config set client rgw_delete_multi_obj_max_num 10000 ceph config set global rgw_delete_multi_obj_max_num 10000
but still only 1000 objects get deleted. Is the target something different? On Wed, May 17, 2023 at 11:58 AM Robert Hish <[email protected]> wrote: > > I think this is capped at 1000 by the config setting. Ive used the aws > and s3cmd clients to delete more than 1000 objects at a time and it > works even with the config setting capped at 1000. But it is a bit slow. > > #> ceph config help rgw_delete_multi_obj_max_num > > rgw_delete_multi_obj_max_num - Max number of objects in a single multi- > object delete request > (int, advanced) > Default: 1000 > Can update at runtime: true > Services: [rgw] > > On Wed, 2023-05-17 at 10:51 +0200, Rok Jaklič wrote: > > Hi, > > > > I would like to delete millions of objects in RGW instance with: > > mc rm --recursive --force ceph/archive/veeam > > > > but it seems it allows only 1000 (or 1002 exactly) removals per > > command. > > > > How can I delete/remove all objects with some prefix? > > > > Kind regards, > > Rok > > _______________________________________________ > > ceph-users mailing list -- [email protected] > > To unsubscribe send an email to [email protected] > > > > _______________________________________________ > ceph-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > _______________________________________________ ceph-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
