summaryrefslogtreecommitdiff
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-03-02 11:34:49 +1100
committerNeilBrown <neilb@suse.de>2011-03-02 11:34:49 +1100
commitc870b7dda3d22d2bd232125403b891706ce886c6 (patch)
tree01be5c736e6ab91e4237e399bbea631e06e5b75a /mdadm.8.in
parent866f509fb934a62ab2bc736214ee14636b8fb051 (diff)
mdadm.man: remove duplicate documentation for --array-size
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>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in32
1 files changed, 11 insertions, 21 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index 00c32dc2..8ffeb26d 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -429,21 +429,6 @@ This value can not be used with
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
array is 512KB. To ensure compatibility with earlier versions, the
@@ -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