Bug 2342729

Summary: [7.1z backport] tools/cephfs/DataScan: test and handle multiple duplicate injected primary links to a directory
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED ERRATA QA Contact: sumr
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.1CC: amk, bkunal, ceph-eng-bugs, cephqe-warriors, dwalveka, mduasope, ngangadh, peli, rafrojas, smitra, sumr, tserlin, vshankar
Target Milestone: ---   
Target Release: 7.1z3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-18.2.1-295.el9cp Doc Type: Bug Fix
Doc Text:
MDS can now handle duplicate links to a directory Previously, cephfs-data-scan during disaster recovery did not create a missing directory fragment from backtraces or create duplicate links in some situations. As a result, the directories became inaccessible or crashed the MDS. With this fix, cephfs-data-scan properly recreates missing directory fragments and corrects duplicate links. Recovery is now easy, and the MDS can better handle duplicate links to a directory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-24 15:41:08 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: 2343968, 2342728, 2343973    
Bug Blocks:    

Description Patrick Donnelly 2025-01-29 02:22:40 UTC
This bug was initially created as a copy of Bug #2342728

I am copying this bug because: 

7.1z backport

Description of problem:

See:
- https://tracker.ceph.com/issues/63301
- https://tracker.ceph.com/issues/69692
- https://tracker.ceph.com/issues/69695

Comment 51 errata-xmlrpc 2025-02-24 15:41:08 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 (Red Hat Ceph Storage 7.1 security, bug fix, enhancement, and known issue updates), 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/RHBA-2025:1770