summaryrefslogtreecommitdiff
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-03-28 11:04:44 -0700
committerJes Sorensen <jsorensen@fb.com>2017-08-02 09:22:51 -0400
commit3373d49f32b2bd8149f633727eba453708a9bf9c (patch)
tree342fdfde43ac52c5bcd80a4f5f4f5dbbe465dc3e /mdadm.8.in
parent795bd44ed11aafbed2628ba21216c667371e79a5 (diff)
downloadmdadm-3373d49f32b2bd8149f633727eba453708a9bf9c.tar.gz
mdadm/r5cache: allow adding journal to array without journal
Currently, --add-journal can be only used to recreate broken journal for arrays with journal since creation. As the kernel code getting more mature, this constraint is no longer necessary. This patch allows --add-journal to add journal to array without journal. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index ecfe9da..461c5de 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -1526,9 +1526,8 @@ 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,
+Add journal to an existing array, or recreate journal for RAID-4/5/6 array
+that lost a journal device. To avoid interrupting on-going write opertions,
.B \-\-add-journal
only works for array in Read-Only state.