diff options
author | NeilBrown <neilb@suse.de> | 2019-11-04 04:27:49 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2019-12-02 22:15:56 +0100 |
commit | 027c099fd1a31fb3815e592de75d0791a22353b4 (patch) | |
tree | cc39fb437892f8d1e0a88415552976a4871fae3f /mdadm.8.in | |
parent | Create: add support for RAID0 layouts. (diff) | |
download | mdadm-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 'mdadm.8.in')
-rw-r--r-- | mdadm.8.in | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1213,6 +1213,8 @@ argument given to this flag can be one of .BR no\-bbl , .BR ppl , .BR no\-ppl , +.BR layout\-original , +.BR layout\-alternate , .BR metadata , or .BR super\-minor . @@ -1364,6 +1366,21 @@ The .B no\-ppl option will disable PPL in the superblock. +The +.B layout\-original +and +.B layout\-alternate +options are for RAID0 arrays in use before Linux 5.4. If the array was being +used with Linux 3.13 or earlier, then to assemble the array on a new kernel, +.B \-\-update=layout\-original +must be given. If the array was created and used with a kernel from Linux 3.14 to +Linux 5.3, then +.B \-\-update=layout\-alternate +must be given. This only needs to be given once. Subsequent assembly of the array +will happen normally. +For more information, see +.IR md (4). + .TP .BR \-\-freeze\-reshape Option is intended to be used in start-up scripts during initrd boot phase. |