From: Rishabh Dave Date: Mon, 2 Sep 2024 14:11:17 +0000 (+0530) Subject: doc/cephfs: add note for config option pause_purging and pause_cloning X-Git-Tag: testing/wip-jcollin-testing-20250925.075511-reef^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7e316117c4127841a2161df98e6b96387b5da0d5;p=ceph-ci.git doc/cephfs: add note for config option pause_purging and pause_cloning Update documentation for add information about mgr/vol config options "pause_purging" and "pause_cloning". Signed-off-by: Rishabh Dave (cherry picked from commit 1f0bfe1c599769ac67d3b1b41f37bb3482e27839) --- diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index d313cfe471f..477bd55cb0f 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -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 +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 diff --git a/doc/cephfs/troubleshooting.rst b/doc/cephfs/troubleshooting.rst index 94eb6adaedb..a8a593ede48 100644 --- a/doc/cephfs/troubleshooting.rst +++ b/doc/cephfs/troubleshooting.rst @@ -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 ===========================