Is MDRAID over multipath devices supported in RHEL?
Issue
- Is MD RAID over
multipathdevice supported? - Is it recommended to configure
mdadmbased onmultiapathdevices? - Is there a usable and supported configuration to install Red Hat Enterprise Linux with software RAID1 on
multipatheddevices? - Can I install my system in a mdadm RAID1 on
multipatheddevices? -
/proc/mdstatis showing only one device, notmpath0andmpath1. Instead it is showing onlysda2andsda3:# 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-multipathmanages devices (most likely from a SAN) -
MDRAID is configured as a layer on top of
multipathdevices 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
