diff options
Diffstat (limited to 'doc/cephfs/cephfs-mirroring.rst')
-rw-r--r-- | doc/cephfs/cephfs-mirroring.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/cephfs/cephfs-mirroring.rst b/doc/cephfs/cephfs-mirroring.rst index 1a157548281..35cef840558 100644 --- a/doc/cephfs/cephfs-mirroring.rst +++ b/doc/cephfs/cephfs-mirroring.rst @@ -120,7 +120,9 @@ system, run a command of the following form: .. note:: "Mirroring module" commands are prefixed with ``fs snapshot mirror``. This distinguishes them from "monitor commands", which are prefixed with ``fs - mirror``. Be sure (in this context) to use module commands. + mirror``. Enabling mirroring by using monitor commands will result in the mirror daemon + entering the "failed" state due to the absence of the `cephfs_mirror` index object. + So be sure (in this context) to use module commands. To disable mirroring for a given file system, run a command of the following form: @@ -258,6 +260,13 @@ e.g.:: .. _cephfs_mirroring_mirroring_status: +Snapshot Mirroring +------------------ + +To initiate snapshot mirroring, create a snapshot of the configured directory in the primary cluster:: + + $ mkdir -p /d0/d1/d2/.snap/snap1 + Mirroring Status ---------------- |