From b2a613ddd5f976680358141548197d534cbf8d53 Mon Sep 17 00:00:00 2001 From: Zhilong Liu Date: Fri, 2 Feb 2018 14:10:50 +0800 Subject: [PATCH] manpage: add prompt in --zero-superblock against clustered raid Clustered raid would be damaged if calls --zero-superblock incorrectly, so add prompt in --zero-superblock chapter of manpage. Such as: cluster node1 has assembled cluster-md, but calls --zero-superblock in other cluster node. Signed-off-by: Zhilong Liu Signed-off-by: Jes Sorensen --- mdadm.8.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdadm.8.in b/mdadm.8.in index f0fd1fc..e6befeb 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -1691,6 +1691,10 @@ overwritten with zeros. With the block where the superblock would be is overwritten even if it doesn't appear to be valid. +.B Note: +Be careful to call \-\-zero\-superblock with clustered raid, make sure +array isn't used or assembled in other cluster node before execute it. + .TP .B \-\-kill\-subarray= If the device is a container and the argument to \-\-kill\-subarray