From 9d60ec8ceb41b3ada9006fa19c1779903ab00136 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 29 Mar 2021 05:29:54 -0400 Subject: [PATCH] doc: s///g Signed-off-by: Venky Shankar --- doc/dev/cephfs-mirroring.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/dev/cephfs-mirroring.rst b/doc/dev/cephfs-mirroring.rst index ac2f13ef33a2e..48ff6e4d6adfd 100644 --- a/doc/dev/cephfs-mirroring.rst +++ b/doc/dev/cephfs-mirroring.rst @@ -115,7 +115,7 @@ Mirroring module provides a family of commands to control mirroring of directory snapshots. To add or remove directories, mirroring needs to be enabled for a given file system. To enable mirroring use:: - $ ceph fs snapshot mirror enable + $ ceph fs snapshot mirror enable .. note:: Mirroring module commands use `fs snapshot mirror` prefix as compared to the monitor commands which `fs mirror` prefix. Make sure to use module @@ -123,7 +123,7 @@ file system. To enable mirroring use:: To disable mirroring, use:: - $ ceph fs snapshot mirror disable + $ ceph fs snapshot mirror disable Once mirroring is enabled, add a peer to which directory snapshots are to be mirrored. Peers follow `@` specification and get assigned a unique-id (UUID) @@ -131,9 +131,9 @@ when added. See `Creating Users` section on how to create Ceph users for mirrori To add a peer use:: - $ ceph fs snapshot mirror peer_add [] [] [] + $ ceph fs snapshot mirror peer_add [] [] [] -`` is optional, and default to `` (on the remote cluster). +`` is optional, and default to `` (on the remote cluster). This requires the remote cluster ceph configuration and user keyring to be available in the primary cluster. See `Bootstrap Peers` section to avoid this. `peer_add` additionally @@ -144,21 +144,21 @@ a peer is the recommended way to add a peer. To remove a peer use:: - $ ceph fs snapshot mirror peer_remove + $ ceph fs snapshot mirror peer_remove .. note:: See `Mirror Daemon Status` section on how to figure out Peer UUID. To list file system mirror peers use:: - $ ceph fs snapshot mirror peer_list + $ ceph fs snapshot mirror peer_list To configure a directory for mirroring, use:: - $ ceph fs snapshot mirror add + $ ceph fs snapshot mirror add To stop a mirroring directory snapshots use:: - $ ceph fs snapshot mirror remove + $ ceph fs snapshot mirror remove Only absolute directory paths are allowed. Also, paths are normalized by the mirroring module, therfore, `/a/b/../b` is equivalent to `/a/b`. -- 2.39.5