From c870b7dda3d22d2bd232125403b891706ce886c6 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Wed, 2 Mar 2011 11:34:49 +1100 Subject: mdadm.man: remove duplicate documentation for --array-size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We somehow got to version of documentation for --array-size. So merge them it one. Reported-by: Ville Skyttä Signed-off-by: NeilBrown --- mdadm.8.in | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) (limited to 'mdadm.8.in') diff --git a/mdadm.8.in b/mdadm.8.in index 00c32dc2..8ffeb26d 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -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 -- cgit v1.2.3