Bug 2043602

Summary: CephFS: Failed to create clones if the PVC is filled with smaller size files
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Greg Farnum <gfarnum>
Component: CephFSAssignee: Kotresh HR <khiremat>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: urgent Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.1CC: akraj, assingh, ceph-eng-bugs, ebenahar, gfarnum, hyelloji, kdreyer, khiremat, madam, mrajanna, muagarwa, ocs-bugs, vereddy, vshankar, ymane
Target Milestone: ---Keywords: Rebase
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.8-2.el8cp Doc Type: Bug Fix
Doc Text:
.Quota is enforced on the clone after the data is copied Previously, the quota on the clone would be set prior to copying the data from the source snapshot and the quota would be enforced before copying the entire data from the source. This would cause the subvolume snapshot clone to fail if the quota on the source exceeded. Since the quota is not strictly enforced at the byte range, this is a possibility. With this fix, the quota is enforced on the clone after the data is copied. The snapshot clone always succeeds irrespective of the quota.
Story Points: ---
Clone Of: 2039276 Environment:
Last Closed: 2022-08-09 17:37:27 UTC Type: ---
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: 2039276    
Bug Blocks: 2102272    

Comment 13 errata-xmlrpc 2022-08-09 17:37:27 UTC
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 Security, Bug Fix, and Enhancement 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-2022:5997