From: Zac Dover Date: Fri, 2 Dec 2022 16:11:49 +0000 (+1000) Subject: doc/rados: add prompts to erasure-code-clay.rst X-Git-Tag: v18.1.0~773^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F49200%2Fhead;p=ceph.git doc/rados: add prompts to erasure-code-clay.rst Add unselectable prompts to doc/rados/operations/erasure-code-clay.rst. https://tracker.ceph.com/issues/57108 Signed-off-by: Zac Dover --- diff --git a/doc/rados/operations/erasure-code-clay.rst b/doc/rados/operations/erasure-code-clay.rst index 5d9e3f631569..1cffa32f56ef 100644 --- a/doc/rados/operations/erasure-code-clay.rst +++ b/doc/rados/operations/erasure-code-clay.rst @@ -38,31 +38,35 @@ to achieve recovery from an OSD failure. Erasure-code profile examples ============================= -An example configuration that can be used to observe reduced bandwidth usage:: +An example configuration that can be used to observe reduced bandwidth usage: - $ ceph osd erasure-code-profile set CLAYprofile \ - plugin=clay \ - k=4 m=2 d=5 \ - crush-failure-domain=host - $ ceph osd pool create claypool erasure CLAYprofile +.. prompt:: bash $ + + ceph osd erasure-code-profile set CLAYprofile \ + plugin=clay \ + k=4 m=2 d=5 \ + crush-failure-domain=host + ceph osd pool create claypool erasure CLAYprofile Creating a clay profile ======================= -To create a new clay code profile:: - - ceph osd erasure-code-profile set {name} \ - plugin=clay \ - k={data-chunks} \ - m={coding-chunks} \ - [d={helper-chunks}] \ - [scalar_mds={plugin-name}] \ - [technique={technique-name}] \ - [crush-failure-domain={bucket-type}] \ - [crush-device-class={device-class}] \ - [directory={directory}] \ - [--force] +To create a new clay code profile: + +.. prompt:: bash $ + + ceph osd erasure-code-profile set {name} \ + plugin=clay \ + k={data-chunks} \ + m={coding-chunks} \ + [d={helper-chunks}] \ + [scalar_mds={plugin-name}] \ + [technique={technique-name}] \ + [crush-failure-domain={bucket-type}] \ + [crush-device-class={device-class}] \ + [directory={directory}] \ + [--force] Where: