]> git.neil.brown.name Git - mdadm.git/commitdiff
mdadm: add man page for --add-journal
authorSong Liu <songliubraving@fb.com>
Fri, 12 Aug 2016 00:10:04 +0000 (17:10 -0700)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 12 Aug 2016 14:57:13 +0000 (10:57 -0400)
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>
mdadm.8.in

index 1a04bd114ec0ac995cd29fedbbefc3f965be7f27..3c0c58f95f35680ad1dcc79a591ae2df5a4f82d2 100644 (file)
@@ -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,