You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst
Don't format an unordered list as preformatted block.
Fix (not linked) reference to a section name that doesn't exist.
Don't call systemd unit files "systemctl unit files", add an "and"
between them.
Clarify by means of inline formatting and whitespace that config value
is "60" and the unit for that is seconds (as opposed to value being
"60s").
Use double backticks consistently when listing commands, file names or
paths, command parameters, syntaxes, etc.
Use star for inline italic instead of single backtick (to differentiate
from the previous).
Don't use double backticks for "cephadm" when talking about the concept.
Don't capitalize a few words that didn't need it.
Capitalize table data for consistency.
All caps for "MDS".
Small updates to language in text.
Call it "cephfs-mirror" everywhere and not "cephfs_mirror" at one place.
Signed-off-by: Ville Ojamo <[email protected]>
E.g., adding a regular file for synchronization would result in failed status::
412
413
@@ -438,7 +439,7 @@ This allows a user to add a non-existent directory for synchronization. The mirr
438
439
will mark such a directory as failed and retry (less frequently). When the directory is
439
440
created, the mirror daemon will clear the failed state upon successful synchronization.
440
441
441
-
Adding a new snapshot or a new directory manually in the .snap directory of the
442
+
Adding a new snapshot or a new directory manually in the ``.snap`` directory of the
442
443
remote filesystem will result in failed status of the corresponding configured directory.
443
444
In the remote filesystem::
444
445
@@ -473,16 +474,16 @@ When the snapshot or the directory is removed from the remote filesystem, the mi
473
474
clear the failed state upon successful synchronization of the pending snapshots, if any.
474
475
475
476
.. note:: Treat the remote filesystem as read-only. Nothing is inherently enforced by CephFS.
476
-
But with the right mds caps, users would not be able to snapshot directories in the
477
+
But with the right MDS caps, users would not be able to snapshot directories in the
477
478
remote file system.
478
479
479
-
When mirroring is disabled, the respective `fs mirror status` command for the file system
480
+
When mirroring is disabled, the respective ``fs mirror status`` command for the file system
480
481
will not show up in command help.
481
482
482
483
Metrics
483
484
-------
484
485
485
-
CephFS exports mirroring metrics as :ref:`Labeled Perf Counters` which will be consumed by the OCP/ODF Dashboard to provide monitoring of the Geo Replication. These metrics can be used to measure the progress of cephfs_mirror syncing and thus provide the monitoring capability. CephFS exports the following mirroring metrics, which are displayed using the ``counter dump`` command.
486
+
CephFS exports mirroring metrics as :ref:`Labeled Perf Counters` which will be consumed by the OCP/ODF Dashboard to provide monitoring of the Geo Replication. These metrics can be used to measure the progress of cephfs-mirror syncing and thus provide the monitoring capability. CephFS exports the following mirroring metrics, which are displayed using the ``counter dump`` command.
486
487
487
488
.. list-table:: Mirror Status Metrics
488
489
:widths: 25 25 75
@@ -539,7 +540,7 @@ CephFS exports mirroring metrics as :ref:`Labeled Perf Counters` which will be c
539
540
- Gauge
540
541
- The time duration of the last synchronization
541
542
* - last_synced_bytes
542
-
- counter
543
+
- Counter
543
544
- The total bytes being synchronized for the last synced snapshot
544
545
545
546
Configuration Options
@@ -561,7 +562,7 @@ Re-adding Peers
561
562
562
563
When re-adding (reassigning) a peer to a file system in another cluster, ensure that
563
564
all mirror daemons have stopped synchronization to the peer. This can be checked
564
-
via `fs mirror status` admin socket command (the `Peer UUID` should not show up
565
+
via the ``fs mirror status`` admin socket command (the *Peer UUID* should not show up
565
566
in the command output). Also, it is recommended to purge synchronized directories
566
567
from the peer before re-adding it to another file system (especially those directories
567
568
which might exist in the new primary file system). This is not required if re-adding
0 commit comments