]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add note for removing (automatic) partitioning policy 53569/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 28 Aug 2023 10:42:57 +0000 (16:12 +0530)
committerZac Dover <zac.dover@proton.me>
Thu, 21 Sep 2023 05:03:18 +0000 (15:03 +1000)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 20d027eb9d54ab4f6ba03dfc17d1c4c42eac1055)

doc/cephfs/multimds.rst

index 0193ae748d10d34bf12441ebd040df40e8ca664b..e50a5148ec2de662fe5ddb14145a1671bd6b3429 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~