]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/cephfs: add note for config option pause_purging and pause_cloning
authorRishabh Dave <ridave@redhat.com>
Mon, 2 Sep 2024 14:11:17 +0000 (19:41 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 25 Sep 2025 03:13:05 +0000 (08:43 +0530)
Update documentation for add information about mgr/vol config options
"pause_purging" and "pause_cloning".

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 1f0bfe1c599769ac67d3b1b41f37bb3482e27839)

doc/cephfs/fs-volumes.rst
doc/cephfs/troubleshooting.rst

index d313cfe471f1bbd198d6bb2155751d768897e456..477bd55cb0f63e9fa9bf7dce072116283f1a4a47 100644 (file)
@@ -829,6 +829,32 @@ Configure the maximum number of concurrent clone operations. The default is 4:
 
    ceph config set mgr mgr/volumes/max_concurrent_clones <value>
 
+Pause the threads that asynchronously purge trashed subvolumes. This option is
+useful during cluster recovery scenarios:
+
+.. prompt:: bash #
+
+    ceph config set mgr/volumes/pause_purging true
+
+To resume purging threads:
+
+.. prompt:: bash #
+
+    ceph config set mgr/volumes/pause_purging false
+
+Pause the threads that asynchronously clone subvolume snapshots. This option is
+useful during cluster recovery scenarios:
+
+.. prompt:: bash #
+
+    ceph config set mgr/volumes/pause_cloning true
+
+To resume cloning threads:
+
+.. prompt:: bash #
+
+    ceph config set mgr/volumes/pause_cloning false
+
 Configure the ``snapshot_clone_no_wait`` option:
 
 The ``snapshot_clone_no_wait`` config option is used to reject clone-creation
index 94eb6adaedb45b3c1a901e744c10bd39afe3262f..a8a593ede485ca857c72e154cd6a989eb35e06dc 100644 (file)
@@ -242,6 +242,31 @@ Do the following when restoring your file system:
      ceph config set mgr mgr/volumes/pause_cloning false
 
 
+* **Turn off async purge threads** The volumes plugin spawns threads for
+  asynchronously purging trashed/deleted subvolumes. To help troubleshooting or
+  recovery effort, these purge threads can be disabled using:
+
+.. code:: bash
+
+    ceph config set mgr mgr/volumes/pause_purging true
+
+  To resume purging run::
+
+    ceph config set mgr mgr/volumes/pause_purging false
+
+* **Turn off async cloner threads** The volumes plugin spawns threads for
+  asynchronously cloning subvolume snapshots. To help troubleshooting or
+  recovery effort, these cloner threads can be disabled using:
+
+.. code:: bash
+
+    ceph config set mgr mgr/volumes/pause_cloning true
+
+  To resume cloning run::
+
+    ceph config set mgr mgr/volumes/pause_cloning false
+
+
 
 Expediting MDS journal trim
 ===========================