summaryrefslogtreecommitdiffstats
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2016-08-12 02:10:04 +0200
committerJes Sorensen <Jes.Sorensen@redhat.com>2016-08-12 16:57:13 +0200
commitff3c881f84f63d805cfd9bc05772a33a25c8bd6f (patch)
tree45a5e9aa675bc740eca45df12544c4ec4dccd328 /mdadm.8.in
parentlib: Various coding style cleanups (diff)
downloadmdadm-ff3c881f84f63d805cfd9bc05772a33a25c8bd6f.tar.xz
mdadm-ff3c881f84f63d805cfd9bc05772a33a25c8bd6f.zip
mdadm: add man page for --add-journal
Add the following to man page: --add-journal Recreate journal for RAID-4/5/6 array that lost a journal device. In the current implementation, this command cannot add a journal to an array that had a failed journal. To avoid interrupting on-going write opertion --add-journal only works for array in Read-Only state. Reported-by: Yi Zhang <yizhan@redhat.com> Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index 1a04bd11..3c0c58f9 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -1444,6 +1444,14 @@ number. The receiving node must acknowledge this message
with \-\-cluster\-confirm. Valid arguments are <slot>:<devicename> in case
the device is found or <slot>:missing in case the device is not found.
+.TP
+.BR \-\-add-journal
+Recreate journal for RAID-4/5/6 array that lost a journal device. In the
+current implementation, this command cannot add a journal to an array
+that had a failed journal. To avoid interrupting on-going write opertions,
+.B \-\-add-journal
+only works for array in Read-Only state.
+
.P
Each of these options requires that the first device listed is the array
to be acted upon, and the remainder are component devices to be added,