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 <zlliu@xxxxxxxx> --- 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 -- 2.6.6 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html