summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-11-17 13:08:55 +1100
committerNeilBrown <neilb@suse.de>2009-11-17 13:08:55 +1100
commit5f175898dedb2bb2635d4d1dcb2afa8c420d5eae (patch)
tree8da1e54dcedb1584b8227124375d7d73b650dc1d /mdadm.8
parentdf0d4ea04e34fc5d499056b00fa1e0a25f21453e (diff)
downloadmdadm-5f175898dedb2bb2635d4d1dcb2afa8c420d5eae.tar.gz
mdadm-5f175898dedb2bb2635d4d1dcb2afa8c420d5eae.tar.xz
mdadm-5f175898dedb2bb2635d4d1dcb2afa8c420d5eae.zip
Increase default chunk size to 512K
This seems more appropriate for current (and recent) model drives than 64K. 64K is still the default for '--build' as changing that could corrupt data. 64K is also the default rounding for 'linear' on kernels older than 2.6.16. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.87
1 files changed, 5 insertions, 2 deletions
diff --git a/mdadm.8 b/mdadm.8
index 121fc29..2df353c 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -440,7 +440,9 @@ before the number of devices in the array is reduced.
.TP
.BR \-c ", " \-\-chunk=
-Specify chunk size of kibibytes. The default is 64.
+Specify chunk size of kibibytes. The default when creating an
+array is 512KB. To ensure compatibility with earlier versions, the
+default when Building and array with no persistent metadata is 64KB.
This is only meaningful for RAID0, RAID4, RAID5, RAID6, and RAID10.
.TP
@@ -450,7 +452,8 @@ component will be rounded down to a multiple of this size.
This is a synonym for
.B \-\-chunk
but highlights the different meaning for Linear as compared to other
-RAID levels.
+RAID levels. The default is 64K if a kernel earlier than 2.6.16 is in
+use, and is 0K (i.e. no rounding) in later kernels.
.TP
.BR \-l ", " \-\-level=