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.
[@ .snap]# ls -c1 snap-7 snap-6 snap-5 snap-4 snap-3 snap-2 snap-1 -----Original Message----- From: Hector Martin [mailto:hec...@marcansoft.com] Sent: 07 February 2019 10:41 To: firstname.lastname@example.org Subject: Re: [ceph-users] I get weird ls pool detail output 12.2.11 On 07/02/2019 18:17, Marc Roos wrote: > 250~1,2252~1,2254~1,2256~1,2258~1,225a~1,225c~1,225e~1,2260~1,2262~1,2 > 26 > 4~1,2266~1,2268~1,226a~1,226c~1,226e~1,2270~1,2272~1,2274~1,2276~1,227 > 8~ > 1,227a~1,227c~1,227e~1,2280~1,2282~1,2284~1,2286~1,2288~1,228a~1,228c~ > 1, > 228e~1,2290~1,2292~1,2294~1,2296~1,2298~1,229a~1,229c~1,229e~1,22a0~1, > 22 Looks like you are creating a snapshot, creating a snapshot, deleting a snapshot, creating a snapshot, creating a snapshot... AIUI this pattern will result in an incompressible removed_snaps list. You should probably remove some old snapshots unless you really need them. Snapshot ID ranges are basically run-length compressed (interval_set), so if you end up with a present-removed-present-removed-present-removed pattern it won't compress. I'm not sure about the performance implications of having such a "holey" snapshot list though. There's some discussion on this here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-September/020510.html -- Hector Martin (hec...@marcansoft.com) Public Key: https://mrcn.st/pub _______________________________________________ ceph-users mailing list email@example.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list firstname.lastname@example.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com