From f76208cbec1953bb8a86e022b2de2ca1e6937fc2 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 5 Jun 2017 20:46:06 +0100 Subject: [PATCH] doc: fix syntax on code snippets in cephfs/multimds Signed-off-by: John Spray --- doc/cephfs/multimds.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/cephfs/multimds.rst b/doc/cephfs/multimds.rst index 942a786d623..dd13d927c4b 100644 --- a/doc/cephfs/multimds.rst +++ b/doc/cephfs/multimds.rst @@ -122,6 +122,7 @@ extended attribute of directories. The name of this extended attribute is ``ceph.dir.pin``. Users can set this attribute using standard commands: :: + setfattr -n ceph.dir.pin -v 2 path/to/dir The value of the extended attribute is the rank to assign the directory subtree @@ -133,9 +134,11 @@ children. However, the parents pin can be overriden by setting the child directory's export pin. For example: :: + mkdir -p a/b # "a" and "a/b" both start without an export pin set setfattr -n ceph.dir.pin -v 1 a/ # a and b are now pinned to rank 1 setfattr -n ceph.dir.pin -v 0 a/b # a/b is now pinned to rank 0 and a/ and the rest of its children are still pinned to rank 1 + -- 2.47.3