]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add note for removing (automatic) partitioning policy 53176/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 28 Aug 2023 10:42:57 +0000 (16:12 +0530)
committerVenky Shankar <vshankar@redhat.com>
Wed, 20 Sep 2023 10:19:19 +0000 (15:49 +0530)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~