]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man/8/ceph: document --max option 40676/head
authorSage Weil <sage@newdream.net>
Tue, 23 Feb 2021 15:56:24 +0000 (10:56 -0500)
committerNathan Cutler <ncutler@suse.com>
Thu, 8 Apr 2021 16:15:07 +0000 (18:15 +0200)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 98f1be85d9f329588cf8e21d7b49ceb0b07425fe)

doc/man/8/ceph.rst

index 847abb7a739f74e9e18641445fe94cfa9c894652..7a1352943dd9ac3e4e62e748a8d00d0c0a4b99bb 100644 (file)
@@ -904,11 +904,16 @@ data should remain readable and writeable, although data redundancy
 may be reduced as some PGs may end up in a degraded (but active)
 state.  It will return a success code if it is okay to stop the
 OSD(s), or an error code and informative message if it is not or if no
-conclusion can be drawn at the current time.
+conclusion can be drawn at the current time.  When ``--max <num>`` is
+provided, up to <num> OSDs IDs will return (including the provided
+OSDs) that can all be stopped simultaneously.  This allows larger sets
+of stoppable OSDs to be generated easily by providing a single
+starting OSD and a max.  Additional OSDs are drawn from adjacent locations
+in the CRUSH hierarchy.
 
 Usage::
 
-  ceph osd ok-to-stop <id> [<ids>...]
+  ceph osd ok-to-stop <id> [<ids>...] [--max <num>]
 
 Subcommand ``pause`` pauses osd.