Skip to content

Commit 2d28faa

Browse files
doc/cephfs: update about changing max_mds FS setting variable
Update the documentation for CephFs admininstration as well troubleshooting. Signed-off-by: Rishabh Dave <[email protected]>
1 parent 4d5ec87 commit 2d28faa

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

doc/cephfs/administration.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,17 @@ is a subset of the same information from the ``ceph fs dump`` command.
6161

6262
::
6363

64-
ceph fs set <file system name> <var> <val>
64+
ceph fs set <file system name> <var> <val> [--yes-i-really-mean-it]
6565

6666
Change a setting on a file system. These settings are specific to the named
67-
file system and do not affect other file systems.
67+
file system and do not affect other file systems. Confirmation flag is only
68+
needed for changing ``max_mds`` when cluster is unhealthy.
69+
70+
.. note:: It is mandatory to pass confirmation flag (--yes--i-really-mean-it)
71+
for modifying FS setting variable ``max_mds`` when cluster is unhealthy.
72+
It has been added a precaution to tell users that modifying ``max_mds``
73+
during troubleshooting or recovery might not help. Instead, it might
74+
further destabilize the cluster.
6875

6976
::
7077

doc/cephfs/troubleshooting.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ things to do:
128128
129129
That prevents any clients from establishing new sessions with the MDS.
130130
131+
* **Dont tweak max_mds** Modifying the FS setting variable ``max_mds`` is
132+
sometimes perceived as a good step during troubleshooting or recovery effort.
133+
Instead, doing so might further destabilize the cluster. If ``max_mds`` must
134+
be changed in such circumstances, run the command to change ``max_mds`` with
135+
the confirmation flag (``--yes-i-really-mean-it``)
131136

132137

133138
Expediting MDS journal trim

0 commit comments

Comments
 (0)