Skip to content

Commit f858fa9

Browse files
committed
doc: add dump stray folder command to the docs
Fixes: https://tracker.ceph.com/issues/56442 Signed-off-by: Igor Golikov <[email protected]>
1 parent ee2beec commit f858fa9

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

doc/cephfs/scrub.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,30 @@ Evaluate strays using recursive scrub
162162
at root, run scrub with flags ``scrub_mdsdir`` and ``recursive``::
163163

164164
ceph tell mds.<fsname>:0 scrub start / recursive,scrub_mdsdir
165+
166+
Dump stray folder content
167+
=====================================
168+
169+
- In order to dump stray folder content on a specific MDS, use the following command::
170+
171+
ceph tell mds.<fsname>:0 dump stray
172+
{
173+
"strays": [
174+
{
175+
"ino": "0x100000001f7",
176+
"stray_prior_path": "/dir/dir1",
177+
"client_caps": [
178+
{
179+
"client_id": 4156,
180+
"pending": "pAsLsXsFscr",
181+
"issued": "pAsLsXsFscr",
182+
"wanted": "-",
183+
"last_sent": 3
184+
}
185+
],
186+
"loner": -1,
187+
"want_loner": -1,
188+
"mds_caps_wanted": [],
189+
"is_subvolume": false
190+
}
191+
]}

0 commit comments

Comments
 (0)