]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add note for removing (automatic) partitioning policy 53570/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 06:29:57 +0000 (16:29 +1000)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 20d027eb9d54ab4f6ba03dfc17d1c4c42eac1055)

doc/cephfs/multimds.rst

index db9b52f3a55763634a90bbe841e7b64178014ad0..3f95ac141ebdc9d4ede8cb21a40f37ead0c4788c 100644 (file)
@@ -225,3 +225,17 @@ 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