]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: add prompts to erasure-code-clay.rst 49200/head
authorZac Dover <zac.dover@gmail.com>
Fri, 2 Dec 2022 16:11:49 +0000 (02:11 +1000)
committerZac Dover <zac.dover@gmail.com>
Fri, 2 Dec 2022 16:11:49 +0000 (02:11 +1000)
Add unselectable prompts to doc/rados/operations/erasure-code-clay.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
doc/rados/operations/erasure-code-clay.rst

index 5d9e3f63156943f65fbef774f09caf342d0edf11..1cffa32f56efa858ac474d1c24f267c86ca5a968 100644 (file)
@@ -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: