From: Varsha Rao Date: Thu, 30 Jul 2020 13:28:47 +0000 (+0200) Subject: doc/mgr/orchestrator: Fix formatting and examples in create OSDs X-Git-Tag: v15.2.5~86^2~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1ff60dea71ec97e1bc27c228bc00d89bb03b502d;p=ceph.git doc/mgr/orchestrator: Fix formatting and examples in create OSDs Signed-off-by: Varsha Rao (cherry picked from commit 195f28a6148c41c7502027b96e8f154a99342acf) --- diff --git a/doc/mgr/orchestrator.rst b/doc/mgr/orchestrator.rst index 27ffa70490d3..f5a13ee2ef8f 100644 --- a/doc/mgr/orchestrator.rst +++ b/doc/mgr/orchestrator.rst @@ -156,25 +156,19 @@ Create OSDs on a set of devices on a single host:: ceph orch daemon add osd :device1,device2 -Example:: -========= -or:: +Another way of doing it is using ``apply`` interface:: ceph orch apply osd -i [--dry-run] - Where the ``json_file/yaml_file`` is a DriveGroup specification. For a more in-depth guide to DriveGroups please refer to :ref:`drivegroups` -or:: - - ceph orch apply osd --all-available-devices [--dry-run] - -If the 'apply' method is used. You will be presented with a preview of what will happen. +Along with ``apply`` interface if ``dry-run`` option is used, it will present a +preview of what will happen. Example:: - # ceph orch apply osd --all-available-devices + # 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 - -