File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 107107 metadata and data pool names to be used for creating the volume. If either
108108 is not passed or if either is a non-empty pool, the command will abort.
109109
110+ * RADOS: A new command, `ceph osd rm-pg-upmap-primary-all`, has been added that allows
111+ users to clear all pg-upmap-primary mappings in the osdmap when desired.
112+ Related trackers:
113+ - https://tracker.ceph.com/issues/67179
114+ - https://tracker.ceph.com/issues/66867
110115
111116>=19.2.1
112117
Original file line number Diff line number Diff line change @@ -103,3 +103,30 @@ Primaries are updated with an offline optimizer that is built into the
103103To see some details about what the tool is doing, you can pass
104104``--debug-osd 10 `` to ``osdmaptool ``. To see even more details, pass
105105``--debug-osd 20 `` to ``osdmaptool ``.
106+
107+ Troubleshooting
108+ ===============
109+
110+ Removing pg-upmap-primary mappings
111+ ------------------------------------
112+
113+ For scenarios where you need to manually remove ``pg-upmap-primary `` mappings, Ceph provides the following
114+ developer-level commands. These commands should be used with caution, as they directly modify
115+ primary PG mappings and can impact read performance (this excludes any data movement).
116+
117+ .. note ::
118+
119+ Users affected by `#66867 <https://tracker.ceph.com/issues/66867 >`_ or `#61948 <https://tracker.ceph.com/issues/61948 >`_
120+ may find these commands useful when dealing with unexpected ``pg-upmap-primary `` behavior.
121+
122+ To remove a specific ``pg-upmap-primary `` mapping, use:
123+
124+ .. prompt :: bash $
125+
126+ ceph osd rm-pg-upmap-primary <pgid>
127+
128+ If you need to clear **all ** ``pg-upmap-primary `` mappings in your cluster, you may use:
129+
130+ .. prompt :: bash $
131+
132+ ceph osd rm-pg-upmap-primary-all
You can’t perform that action at this time.
0 commit comments