]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/cephfs/scrub.rst
update ceph source to reef 18.2.1
[ceph.git] / ceph / doc / cephfs / scrub.rst
index 114f7580a400561ea3d90c96748314aa7b2e5abe..5b813f1c41ad822051169f2e6fb59c6c26568698 100644 (file)
@@ -143,3 +143,14 @@ The types of damage that can be reported and repaired by File System Scrub are:
 
 * BACKTRACE : Inode's backtrace in the data pool is corrupted.
 
+Evaluate strays using recursive scrub
+=====================================
+
+- In order to evaluate strays i.e. purge stray directories in ``~mdsdir`` use the following command::
+
+    ceph tell mds.<fsname>:0 scrub start ~mdsdir recursive
+
+- ``~mdsdir`` is not enqueued by default when scrubbing at the CephFS root. In order to perform stray evaluation
+  at root, run scrub with flags ``scrub_mdsdir`` and ``recursive``::
+
+    ceph tell mds.<fsname>:0 scrub start / recursive,scrub_mdsdir