Is MDRAID over multipath devices supported in RHEL?
Issue
- Is MD RAID over
multipath
device supported? - Is it recommended to configure
mdadm
based onmultiapath
devices? - Is there a usable and supported configuration to install Red Hat Enterprise Linux with software RAID1 on
multipathed
devices? - Can I install my system in a mdadm RAID1 on
multipathed
devices? -
/proc/mdstat
is showing only one device, notmpath0
andmpath1
. Instead it is showing onlysda2
andsda3
:# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sda2[0] 128448 blocks [2/1] [U_] md1 : active raid1 sda3[0] 35214400 blocks [2/1] [U_] unused devices: <none>
Environment
-
Red Hat Enterprise Linux (RHEL) products including:
- Red Hat Enterprise Linux 4 (RHEL4)
- Red Hat Enterprise Linux 5 (RHEL5)
- Red Hat Enterprise Linux 6 (RHEL6)
-
device-mapper-multipath
manages devices (most likely from a SAN) -
MDRAID is configured as a layer on top of
multipath
devices in a similar configuration to:/dev/sda1 -| /dev/sdc1 -|=> /dev/mapper/mpath0p1 -| |==> /dev/md0 /dev/sdb1 -|=> /dev/mapper/mpath1p1 -| /dev/sdd1 -|
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.