]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm.man: remove duplicate documentation for --array-size
authorNeilBrown <neilb@suse.de>
Wed, 2 Mar 2011 00:34:49 +0000 (11:34 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 2 Mar 2011 00:34:49 +0000 (11:34 +1100)
We somehow got to version of documentation for --array-size.
So merge them it one.

Reported-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.8.in

index 00c32dc22286a32119fa6b0e759bea933a5cb870..8ffeb26dc1ec20896b54b90d56b950d0ca82c777 100644 (file)
@@ -428,21 +428,6 @@ This value can not be used with
 .B CONTAINER
 metadata such as DDF and IMSM.
 
-.TP
-.BR \-Z ", " \-\-array-size=
-This is only meaningful with
-.B \-\-grow
-and its effect is not persistent: when the array is stopped an
-restarted the default array size will be restored.
-
-Setting the array-size causes the array to appear smaller to programs
-that access the data.  This is particularly needed before reshaping an
-array so that it will be smaller.  As the reshape is not reversible,
-but setting the size with
-.B \-\-array-size
-is, it is required that the array size is reduced as appropriate
-before the number of devices in the array is reduced.
-
 .TP
 .BR \-c ", " \-\-chunk=
 Specify chunk size of kibibytes.  The default when creating an
@@ -672,13 +657,18 @@ being reshaped.
 
 .TP
 .BR \-\-array-size= ", " \-Z
-Set the size of the array which is seen by users of the device such as
-filesystems.  This can be less that the real size, but never greater.
-The size set this way does not persist across restarts of the array.
+This is only meaningful with
+.B \-\-grow
+and its effect is not persistent: when the array is stopped an
+restarted the default array size will be restored.
 
-This is most useful when reducing the number of devices in a RAID5 or
-RAID6.  Such arrays require the array-size to be reduced before a
-reshape can be performed that reduces the real size.
+Setting the array-size causes the array to appear smaller to programs
+that access the data.  This is particularly needed before reshaping an
+array so that it will be smaller.  As the reshape is not reversible,
+but setting the size with
+.B \-\-array-size
+is, it is required that the array size is reduced as appropriate
+before the number of devices in the array is reduced.
 
 A value of
 .B max