All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mdadm: add man page for --add-journal
@ 2016-08-12  0:10 Song Liu
  2016-08-12 14:58 ` Jes Sorensen
  0 siblings, 1 reply; 5+ messages in thread
From: Song Liu @ 2016-08-12  0:10 UTC (permalink / raw)
  To: linux-raid; +Cc: yizhan, Song Liu, Shaohua Li

Add the following to man page:

--add-journal
      Recreate journal for RAID-4/5/6 array that losts journal
      devices. In current implementation, this command cannot
      add journal to an array that had failed journal.  To
      avoid  interrupting  on-going  write  opertions,
      --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>
---
 mdadm.8.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/mdadm.8.in b/mdadm.8.in
index 1a04bd1..a335c53 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 losts journal devices. In current
+implementation, this command cannot add journal to an array that had 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,
-- 
2.8.0.rc2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-15 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-12  0:10 [PATCH] mdadm: add man page for --add-journal Song Liu
2016-08-12 14:58 ` Jes Sorensen
2016-08-13  5:13   ` Adam Goryachev
2016-08-15 14:42     ` Jes Sorensen
2016-08-15 17:16       ` Song Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.