Skip to content

Commit

Permalink
doc/man/8/ceph: document --max option
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
liewegas committed Feb 26, 2021
1 parent 2e15607 commit 98f1be8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/man/8/ceph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -992,11 +992,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.

Expand Down

0 comments on commit 98f1be8

Please sign in to comment.