Bug 2227806
Summary: | snap-schedule: allow retention spec to specify max number of snaps to retain | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Milind Changire <mchangir> | |
Component: | CephFS | Assignee: | Milind Changire <mchangir> | |
Status: | CLOSED ERRATA | QA Contact: | sumr | |
Severity: | high | Docs Contact: | Ranjini M N <rmandyam> | |
Priority: | unspecified | |||
Version: | 5.3 | CC: | ceph-eng-bugs, cephqe-warriors, hyelloji, ngangadh, rmandyam, sostapov, tserlin, vshankar | |
Target Milestone: | --- | |||
Target Release: | 5.3z6 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | ceph-16.2.10-220.el8cp | Doc Type: | Bug Fix | |
Doc Text: |
.The `snap-schedule` module retains a defined number of snapshots
With this release, `snap-schedule` module supports a new retention specification to retain a user-defined number of snapshots. For example, if you have specified 50 snapshots to retain irrespective of the snapshot creation cadence, then the snapshot is pruned after a new snapshot is created. The actual number of snapshots retained is 1 less than the maximum number specified. In this example, 49 snapshots are retained so that there is a margin of 1 snapshot that can be created on the file system on the next iteration. The retained snapshot avoids breaching the system configured limit of `mds_max_snaps_per_dir`.
IMPORTANT: Be careful when configuring `mds_max_snaps_per_dir` and snapshot scheduling limits to avoid unintentional deactivation of snapshot schedules due to the file system returning a "Too many links" error if the `mds_max_snaps_per_dir` limit is breached.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2227807 2227809 (view as bug list) | Environment: | ||
Last Closed: | 2024-02-08 16:49:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2258797 |
Description
Milind Changire
2023-07-31 14:45:14 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. 5.3z4 is released - Changing the target release to 5.3z5 Milind, please post an MR. Retargeting to 5.3 z6 as it was not complete in the 5.3 z5 window. Verified the fix as per QA Test Plan on ceph build 16.2.10-225.el8cp , no issues seen. Logs - http://magna002.ceph.redhat.com/ceph-qe-logs/suma/bz_verify/bz_2227806_verification.log Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 5.3 Security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:0745 |