From: Venky Shankar Date: Mon, 28 Aug 2023 10:42:57 +0000 (+0530) Subject: doc: add note for removing (automatic) partitioning policy X-Git-Tag: v18.2.1~281^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F53569%2Fhead;p=ceph.git doc: add note for removing (automatic) partitioning policy Signed-off-by: Venky Shankar (cherry picked from commit 20d027eb9d54ab4f6ba03dfc17d1c4c42eac1055) --- diff --git a/doc/cephfs/multimds.rst b/doc/cephfs/multimds.rst index 0193ae748d10..e50a5148ec2d 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~