FYI, PR - https://github.com/ceph/ceph/pull/51278 On Fri, Apr 28, 2023 at 8:49 AM Milind Changire <mchangir@xxxxxxxxxx> wrote: > There's a default/hard limit of 50 snaps that's maintained for any dir via > the definition MAX_SNAPS_PER_PATH = 50 in the source file > src/pybind/mgr/snap_schedule/fs/schedule_client.py. > Every time the snapshot names are read for pruning, the last thing done is > to check the length of the list and keep only MAX_SNAPS_PER_PATH and the > rest are pruned. > > Jakob Haufe has pointed it out correctly. > > > > On Thu, Apr 27, 2023 at 12:38 PM Tobias Hachmer <t.hachmer@xxxxxx> wrote: > >> Hello, >> >> we are running a 3-node ceph cluster with version 17.2.6. >> >> For CephFS snapshots we have configured the following snap schedule with >> retention: >> >> /PATH 2h 72h15d6m >> >> But we observed that max 50 snapshot are preserved. If a new snapshot is >> created the oldest 51st is deleted. >> >> Is there a limit for maximum cephfs snapshots or maybe this is a bug? >> >> I have found the setting "mds_max_snaps_per_dir" which is 100 by default >> but I think this is not related to my problem? >> >> Thanks, >> >> Tobias >> _______________________________________________ >> ceph-users mailing list -- ceph-users@xxxxxxx >> To unsubscribe send an email to ceph-users-leave@xxxxxxx >> > > > -- > Milind > > -- Milind _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx