Bug 2269687

Summary: mds: add a command to dump directory information
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Jos Collin <jcollin>
Component: CephFSAssignee: Jos Collin <jcollin>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: medium    
Version: 7.0CC: akraj, ceph-eng-bugs, cephqe-warriors, hyelloji, tserlin, vereddy, vshankar
Target Milestone: ---   
Target Release: 7.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-18.2.1-124.el9cp Doc Type: Enhancement
Doc Text:
.A new `dump dir` command is introduced to dump the directory information With this enhancement, the `dump dir` command is introduced to dump the directory information and print the output.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:29:43 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: 2267614, 2298578, 2298579    

Description Jos Collin 2024-03-15 10:59:46 UTC
Description of problem:
add a command to dump directory information

Version-Release number of selected component (if applicable):
6.0

How reproducible:
$ ceph daemon mds.a dump dir /test-dir


Expected results:
[
    {
        "value/bits": "0/0",
        "status": "dirfrag not in cache"
    }
]

Additional info:

Comment 7 errata-xmlrpc 2024-06-13 14:29:43 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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix 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:3925