summaryrefslogtreecommitdiffstats
path: root/md.4
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2019-11-04 04:27:49 +0100
committerJes Sorensen <jsorensen@fb.com>2019-12-02 22:15:56 +0100
commit027c099fd1a31fb3815e592de75d0791a22353b4 (patch)
treecc39fb437892f8d1e0a88415552976a4871fae3f /md.4
parentCreate: add support for RAID0 layouts. (diff)
downloadmdadm-027c099fd1a31fb3815e592de75d0791a22353b4.tar.xz
mdadm-027c099fd1a31fb3815e592de75d0791a22353b4.zip
Assemble: add support for RAID0 layouts.
If you have a RAID0 array with varying sized devices on a kernel before 5.4, you cannot assembling it on 5.4 or later without explicitly setting the layout. This is now possible with --update=layout-original (For 3.13 and earlier kernels) or --update=layout-alternate (for 3.14 and later kernels) Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'md.4')
-rw-r--r--md.47
1 files changed, 7 insertions, 0 deletions
diff --git a/md.4 b/md.4
index 6fe27554..0712af25 100644
--- a/md.4
+++ b/md.4
@@ -208,6 +208,13 @@ array,
will record the chosen layout in the metadata in a way that allows newer
kernels to assemble the array without needing a module parameter.
+To assemble an old array on a new kernel without using the module parameter,
+use either the
+.B "--update=layout-original"
+option or the
+.B "--update=layout-alternate"
+option.
+
.SS RAID1
A RAID1 array is also known as a mirrored set (though mirrors tend to