From ab3ea265c5444a4b72f26d967573d41a1bde2689 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Thu, 25 Mar 2021 01:47:17 +1000 Subject: [PATCH] doc/cephadm: rewrite "dry run" section in osd.rst This rewrites the "dry run" section of the "OSD Service" chapter of the Cephdam documentation. This commit makes minor changes that reduce the cognitive load of the reader. Signed-off-by: Zac Dover (cherry picked from commit e61237f3a1f83b90d4ab22396c6e8291620a60fa) --- doc/cephadm/osd.rst | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/doc/cephadm/osd.rst b/doc/cephadm/osd.rst index adf44d182e1ee..e61ef1534f521 100644 --- a/doc/cephadm/osd.rst +++ b/doc/cephadm/osd.rst @@ -150,16 +150,21 @@ There are a few ways to create new OSDs: Dry Run ------- -``--dry-run`` will cause the orchestrator to present a preview of what will happen -without actually creating the OSDs. +The ``--dry-run`` flag causes the orchestrator to present a preview of what +will happen without actually creating the OSDs. -Example:: +For example: - # ceph orch apply osd --all-available-devices --dry-run - NAME HOST DATA DB WAL - all-available-devices node1 /dev/vdb - - - all-available-devices node2 /dev/vdc - - - all-available-devices node3 /dev/vdd - - + .. prompt:: bash # + + ceph orch apply osd --all-available-devices --dry-run + + :: + + NAME HOST DATA DB WAL + all-available-devices node1 /dev/vdb - - + all-available-devices node2 /dev/vdc - - + all-available-devices node3 /dev/vdd - - .. _cephadm-osd-declarative: -- 2.39.5