From: Jakob Haufe Date: Tue, 16 May 2023 03:10:54 +0000 (+0530) Subject: doc/cephfs: Add note how mds_max_snaps_per_dir affects snapshot retention X-Git-Tag: v17.2.7~92^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a9b1dc9a396d3c5a09253b032f6ee44007ffcda1;p=ceph.git doc/cephfs: Add note how mds_max_snaps_per_dir affects snapshot retention Signed-off-by: Jakob Haufe (cherry picked from commit 2e8af66ed4678775a3f686738c12ac04abfd770e) --- diff --git a/doc/cephfs/snap-schedule.rst b/doc/cephfs/snap-schedule.rst index fb9c85b5a44c..70efe2547f10 100644 --- a/doc/cephfs/snap-schedule.rst +++ b/doc/cephfs/snap-schedule.rst @@ -155,6 +155,11 @@ Examples:: snapshot creation is accounted for in the "created_count" field, which is a cumulative count of the total number of snapshots created so far. +.. note: The maximum number of snapshots to retain per directory is limited by the + config tunable `mds_max_snaps_per_dir`. This tunable defaults to 100. + To ensure a new snapshot can be created, one snapshot less than this will be + retained. So by default, a maximum of 99 snapshots will be retained. + Active and inactive schedules ----------------------------- Snapshot schedules can be added for a path that doesn't exist yet in the