From f61eff1924df77473c1981dc0ec24d510cd8db8e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 23 Feb 2021 10:56:24 -0500 Subject: [PATCH] doc/man/8/ceph: document --max option Signed-off-by: Sage Weil (cherry picked from commit 98f1be85d9f329588cf8e21d7b49ceb0b07425fe) --- doc/man/8/ceph.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/man/8/ceph.rst b/doc/man/8/ceph.rst index 847abb7a739f7..7a1352943dd9a 100644 --- a/doc/man/8/ceph.rst +++ b/doc/man/8/ceph.rst @@ -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 `` 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. -- 2.39.5