From: Sage Weil Date: Tue, 23 Feb 2021 15:56:24 +0000 (-0500) Subject: doc/man/8/ceph: document --max option X-Git-Tag: v17.1.0~2808^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=98f1be85d9f329588cf8e21d7b49ceb0b07425fe;p=ceph.git doc/man/8/ceph: document --max option Signed-off-by: Sage Weil --- diff --git a/doc/man/8/ceph.rst b/doc/man/8/ceph.rst index ec06fe356b0b..7fefe58d692c 100644 --- a/doc/man/8/ceph.rst +++ b/doc/man/8/ceph.rst @@ -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 `` is +provided, up to 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 [...] + ceph osd ok-to-stop [...] [--max ] Subcommand ``pause`` pauses osd.