]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: add prompts to pg-repair.rst 49243/head
authorZac Dover <zac.dover@gmail.com>
Mon, 5 Dec 2022 02:44:01 +0000 (12:44 +1000)
committerZac Dover <zac.dover@gmail.com>
Mon, 5 Dec 2022 02:44:01 +0000 (12:44 +1000)
Add unselectable prompts to doc/rados/operations/pg-repair.rst.

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

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

index 5dcfe63ad055c1d8ee5a2f8e51b9272c010515e4..f495530cc8829f4e0fa9ccb030907937d0c6f766 100644 (file)
@@ -14,38 +14,52 @@ Commands for Diagnosing Placement-group Problems
 ================================================
 The commands in this section provide various ways of diagnosing broken placement groups.
 
-The following command provides a high-level (low detail) overview of the health of the ceph cluster::
+The following command provides a high-level (low detail) overview of the health of the ceph cluster:
 
-   # ceph health detail
+.. prompt:: bash #
 
-The following command provides more detail on the status of the placement groups::
+   ceph health detail
 
-   # ceph pg dump --format=json-pretty
+The following command provides more detail on the status of the placement groups:
 
-The following command lists inconsistent placement groups::
+.. prompt:: bash #
 
-   # rados list-inconsistent-pg {pool}
+   ceph pg dump --format=json-pretty
 
-The following command lists inconsistent rados objects::
+The following command lists inconsistent placement groups:
 
-   # rados list-inconsistent-obj {pgid}
+.. prompt:: bash #
 
-The following command lists inconsistent snapsets in the given placement group::
+   rados list-inconsistent-pg {pool}
 
-   # rados list-inconsistent-snapset {pgid}
+The following command lists inconsistent rados objects:
+
+.. prompt:: bash #
+
+   rados list-inconsistent-obj {pgid}
+
+The following command lists inconsistent snapsets in the given placement group:
+
+.. prompt:: bash #
+
+   rados list-inconsistent-snapset {pgid}
 
 
 Commands for Repairing Placement Groups
 =======================================
-The form of the command to repair a broken placement group is::
+The form of the command to repair a broken placement group is:
+
+.. prompt:: bash #
 
-   ceph pg repair {pgid}
+   ceph pg repair {pgid}
 
 Where ``{pgid}`` is the id of the affected placement group.
 
-For example::
+For example:
+
+.. prompt:: bash #
 
-   ceph pg repair 1.4
+   ceph pg repair 1.4
 
 More Information on Placement Group Repair
 ==========================================