Skip to content

Commit 373910d

Browse files
doc/cephfs: add doc for disabling mgr/volumes plugin
Signed-off-by: Rishabh Dave <[email protected]>
1 parent 0abc227 commit 373910d

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

doc/cephfs/fs-volumes.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,5 +1419,28 @@ set with this id was present in the database
14191419

14201420
$ ceph fs quiesce fs1 sub1 sub2 sub3 --set-id="external-id" --if-version=0
14211421

1422+
1423+
.. _disabling-volumes-plugin:
1424+
1425+
Disabling Volumes Plugin
1426+
------------------------
1427+
By default the volumes plugin is enabled and set to ``always on``. However, in
1428+
certain cases it might be appropriate to disable it. For example, when a CephFS
1429+
is in a degraded state, the volumes plugin commands may accumulate in MGR
1430+
instead of getting served. Which eventually causes policy throttles to kick in
1431+
and the MGR becomes unresponsive.
1432+
1433+
In this event, volumes plugin can be disabled even though it is an
1434+
``always on`` module in MGR. To do so, run ``ceph mgr module disable volumes
1435+
--yes-i-really-mean-it``. Do note that this command will disable operations
1436+
and remove commands of volumes plugin since it will disable all CephFS
1437+
services on the Ceph cluster accessed through this plugin.
1438+
1439+
Before resorting to a measure as drastic as this, it is a good idea to try less
1440+
drastic measures and then assess if the file system experience has improved due
1441+
to it. One example of such less drastic measure is to disable asynchronous
1442+
threads launched by volumes plugins for cloning and purging trash.
1443+
1444+
14221445
.. _manila: https://github.com/openstack/manila
14231446
.. _CSI: https://github.com/ceph/ceph-csi

doc/cephfs/troubleshooting.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,11 @@ its associated key. A less drastic but half-fix is to change the osd cap for
412412
your user to just ``caps osd = "allow rw"`` and delete ``tag cephfs
413413
data=....``
414414

415+
Disabling Volumes Plugin
416+
========================
417+
In certain scenarios, volumes plugin might be needed to disabled to prevent compromise
418+
for rest of the Ceph cluster. For details see: :ref:`disabling-volumes-plugin`
419+
415420
Reporting Issues
416421
================
417422

0 commit comments

Comments
 (0)