]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs: update about changing max_mds FS setting variable
authorRishabh Dave <ridave@redhat.com>
Tue, 27 Aug 2024 08:03:23 +0000 (13:33 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 1 Oct 2024 07:15:31 +0000 (12:45 +0530)
Update the documentation for CephFs admininstration as well
troubleshooting.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
doc/cephfs/administration.rst
doc/cephfs/troubleshooting.rst

index 5760e67f73e64853347d9145f3b4e110d08c596c..07646bff06786ac4c00292de86032be4fd4fe256 100644 (file)
@@ -61,10 +61,17 @@ is a subset of the same information from the ``ceph fs dump`` command.
 
 ::
 
-    ceph fs set <file system name> <var> <val>
+    ceph fs set <file system name> <var> <val> [--yes-i-really-mean-it]
 
 Change a setting on a file system. These settings are specific to the named
-file system and do not affect other file systems.
+file system and do not affect other file systems. Confirmation flag is only
+needed for changing ``max_mds`` when cluster is unhealthy.
+
+.. note:: It is mandatory to pass confirmation flag (--yes--i-really-mean-it)
+   for modifying FS setting variable ``max_mds`` when cluster is unhealthy.
+   It has been added a precaution to tell users that modifying ``max_mds``
+   during troubleshooting or recovery might not help. Instead, it might
+   further destabilize the cluster.
 
 ::
 
index 34de1b7501df9f9031ac5b74b2c2f9a3cc7629b2..78d0a8f54d3365a7db9b432e99d417c5f57c5b29 100644 (file)
@@ -128,6 +128,11 @@ things to do:
 
   That prevents any clients from establishing new sessions with the MDS.
 
+* **Dont tweak max_mds** Modifying the FS setting variable ``max_mds`` is
+  sometimes perceived as a good step during troubleshooting or recovery effort.
+  Instead, doing so might further destabilize the cluster. If ``max_mds`` must
+  be changed in such circumstances, run the command to change ``max_mds`` with
+  the confirmation flag (``--yes-i-really-mean-it``)
 
 
 Expediting MDS journal trim