@@ -81,13 +81,13 @@ things to do:
8181* **Deny all reconnect to clients. ** This effectively blocklists all existing
8282 CephFS sessions so all mounts will hang or become unavailable.
8383
84- .. code :: bash
84+ .. code :: bash
8585
86- ceph config set mds mds_deny_all_reconnect true
86+ ceph config set mds mds_deny_all_reconnect true
8787
8888 Remember to undo this after the MDS becomes active.
8989
90- .. note :: This does not prevent new sessions from connecting. For that, see the ``refuse_client_session`` file system setting.
90+ .. note :: This does not prevent new sessions from connecting. For that, see the ``refuse_client_session`` file system setting.
9191
9292* **Extend the MDS heartbeat grace period **. This avoids replacing an MDS that appears
9393 "stuck" doing some operation. Sometimes recovery of an MDS may involve an
@@ -96,23 +96,23 @@ things to do:
9696 normal amount of time to complete (indicated by your reading this document).
9797 Avoid unnecessary replacement loops by extending the heartbeat graceperiod:
9898
99- .. code :: bash
99+ .. code :: bash
100100
101- ceph config set mds mds_heartbeat_grace 3600
101+ ceph config set mds mds_heartbeat_grace 3600
102102
103- .. note :: This has the effect of having the MDS continue to send beacons to the monitors
104- even when its internal "heartbeat" mechanism has not been reset (beat) in one
105- hour. The previous mechanism for achieving this was via the
106- `mds_beacon_grace ` monitor setting.
103+ .. note :: This has the effect of having the MDS continue to send beacons to the monitors
104+ even when its internal "heartbeat" mechanism has not been reset (beat) in one
105+ hour. The previous mechanism for achieving this was via the
106+ `mds_beacon_grace ` monitor setting.
107107
108108* **Disable open file table prefetch. ** Normally, the MDS will prefetch
109109 directory contents during recovery to heat up its cache. During long
110110 recovery, the cache is probably already hot **and large **. So this behavior
111111 can be undesirable. Disable using:
112112
113- .. code :: bash
113+ .. code :: bash
114114
115- ceph config set mds mds_oft_prefetch_dirfrags false
115+ ceph config set mds mds_oft_prefetch_dirfrags false
116116
117117 * **Turn off clients. ** Clients reconnecting to the newly ``up:active `` MDS may
118118 cause new load on the file system when it's just getting back on its feet.
@@ -122,9 +122,9 @@ things to do:
122122
123123 You can do this manually or use the new file system tunable:
124124
125- .. code :: bash
125+ .. code :: bash
126126
127- ceph fs set < fs_name> refuse_client_session true
127+ ceph fs set < fs_name> refuse_client_session true
128128
129129 That prevents any clients from establishing new sessions with the MDS.
130130
@@ -140,26 +140,27 @@ things to do:
140140 asynchronously purging trashed/deleted subvolumes. To help troubleshooting or
141141 recovery effort, these purge threads can be disabled using:
142142
143- .. code :: bash
143+ .. code :: bash
144144
145- ceph config set mgr mgr/volumes/pause_purging true
145+ ceph config set mgr mgr/volumes/pause_purging true
146146
147147 To resume purging run::
148148
149- ceph config set mgr mgr/volumes/pause_purging false
149+ ceph config set mgr mgr/volumes/pause_purging false
150150
151151.. _pause-clone-threads :
152+
152153* **Turn off async cloner threads ** The volumes plugin spawns threads for
153154 asynchronously cloning subvolume snapshots. To help troubleshooting or
154155 recovery effort, these cloner threads can be disabled using:
155156
156- .. code :: bash
157+ .. code :: bash
157158
158- ceph config set mgr mgr/volumes/pause_cloning true
159+ ceph config set mgr mgr/volumes/pause_cloning true
159160
160161 To resume cloning run::
161162
162- ceph config set mgr mgr/volumes/pause_cloning false
163+ ceph config set mgr mgr/volumes/pause_cloning false
163164
164165
165166
0 commit comments