Is MDRAID over multipath devices supported in RHEL?

Solution Verified - Updated -

Issue

  • Is MD RAID over multipath device supported?
  • Is it recommended to configure mdadm based on multiapath 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, not mpath0 and mpath1. Instead it is showing only sda2 and sda3:

        # 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content