From f987520315f0586b55b1a37b0eba0bcc4cdbc962 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 28 Aug 2023 16:12:57 +0530 Subject: [PATCH] doc: add note for removing (automatic) partitioning policy Signed-off-by: Venky Shankar (cherry picked from commit 20d027eb9d54ab4f6ba03dfc17d1c4c42eac1055) --- doc/cephfs/multimds.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/cephfs/multimds.rst b/doc/cephfs/multimds.rst index 0193ae748d10d..e50a5148ec2de 100644 --- a/doc/cephfs/multimds.rst +++ b/doc/cephfs/multimds.rst @@ -226,6 +226,20 @@ For the reverse situation: The ``home/patrick`` directory and its children will be pinned to rank 2 because its export pin overrides the policy on ``home``. +To remove a partitioning policy, remove the respective extended attribute +or set the value to 0. + +.. code::bash + $ setfattr -n ceph.dir.pin.distributed -v 0 home + # or + $ setfattr -x ceph.dir.pin.distributed home + +For export pins, remove the extended attribute or set the extended attribute +value to `-1`. + +.. code::bash + $ setfattr -n ceph.dir.pin -v -1 home + Dynamic subtree partitioning with Balancer on specific ranks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.39.5