diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> | 2017-10-03 14:49:49 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-10-03 20:27:13 +0200 |
commit | 20dc76d15b40c17b4ccdc3d6283af8ecb513707f (patch) | |
tree | f0e1fabcd36bea2e215910dd91b861d3b60031ee /mdmon.h | |
parent | Grow: Use all 80 characters (diff) | |
download | mdadm-20dc76d15b40c17b4ccdc3d6283af8ecb513707f.tar.xz mdadm-20dc76d15b40c17b4ccdc3d6283af8ecb513707f.zip |
imsm: Set disk slot number
If first disk of IMSM RAID1 is failed but still present in the system,
the array is not auto-assembled. Auto-assemble uses raid disk slot from
metadata to index disks. As it's not set, the valid disk is seen as a
replacement disk and its metadata is ignored. The problem is not
observed for other RAID levels as they have more than 2 disks -
replacement disks are only stored under uneven indexes so third disk
metadata is used in such scenario.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Reviewed-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdmon.h')
0 files changed, 0 insertions, 0 deletions