On 07/02/2019 19:19, Marc Roos wrote:
Hmmm, I am having a daily cron job creating these only on maybe 100 directories. I am removing the snapshot if it exists with a rmdir. Should I do this differently? Maybe eg use snap-20190101, snap-20190102, snap-20190103 then I will always create unique directories and the ones removed will also be always unique.
The names shouldn't matter. If you're creating 100 snapshots then having a removed_snaps with that order of entries may be normal; I'm not sure how many you really have, since your line was truncated, but at least 600 or so? You might want to go through your snapshots and check that you aren't leaking old snapshots forever, or deleting the wrong ones.
-- Hector Martin (hec...@marcansoft.com) Public Key: https://mrcn.st/pub _______________________________________________ ceph-users mailing list firstname.lastname@example.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com