]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Fix for worker arguments to cephfs-data-scan tool 12360/head
authorWido den Hollander <wido@42on.com>
Wed, 7 Dec 2016 08:49:09 +0000 (09:49 +0100)
committerWido den Hollander <wido@42on.com>
Wed, 7 Dec 2016 08:49:09 +0000 (09:49 +0100)
The docs were incorrect and these arguments should work.

Signed-off-by: Wido den Hollander <wido@42on.com>
doc/cephfs/disaster-recovery.rst

index ee54c90a70a63bb812fdf03bec4197e4d5db5dd7..90f9a98a305268995d73fff9abbfb74aa1d391cb 100644 (file)
@@ -149,14 +149,14 @@ the range 0-(N_workers - 1), like so:
 ::
 
     # Worker 0
-    cephfs-data-scan scan_extents <data pool> 0 1
+    cephfs-data-scan scan_extents --worker_n 0 --worker_m 1 <data pool>
     # Worker 1
-    cephfs-data-scan scan_extents <data pool> 1 1
+    cephfs-data-scan scan_extents --worker_n 1 --worker_m 1<data pool> 1 1
 
     # Worker 0
-    cephfs-data-scan scan_inodes <data pool> 0 1
+    cephfs-data-scan scan_inodes --worker_n 0 --worker_m 1 <data pool>
     # Worker 1
-    cephfs-data-scan scan_inodes <data pool> 1 1
+    cephfs-data-scan scan_inodes --worker_n 1 --worker_m 1 <data pool>
 
 It is important to ensure that all workers have completed the
 scan_extents phase before any workers enter the scan_inodes phase.