Degraded mirror raid is not shown in gui

  • I shut down my OMV and replaced a disc in one of my mirror raids. The one left there (sda) is a WD red 3TB.

    When I restarted that raid (md125) is not shown in the "Software RAID" tab, so I can't add the new disc to the raid.

    ~# cat /proc/mdstat
    Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
    md125 : inactive sda[2](S)
          2930135512 blocks super 1.2
    md126 : active raid1 sdc[0] sdb[1]
          2930135360 blocks super 1.2 [2/2] [UU]
    md127 : active raid1 sde[2] sdd[3]
          3906887512 blocks super 1.2 [2/2] [UU]

    ~# mdadm --detail --scan --verbose
    ARRAY /dev/md/ior level=raid1 num-devices=2 metadata=1.2 name=nasse:ior UUID=edb0fb6c:b865e482:91005459:1f536e48
    ARRAY /dev/md/puh level=raid1 num-devices=2 metadata=1.2 name=nasse:puh UUID=c38f46f3:382c20e5:02a93b53:837294a3
    INACTIVE-ARRAY /dev/md125 num-devices=1 metadata=1.2 name=nasse:kangu UUID=0c98e989:12de39be:be119640:e4f548e0
    • Official Post

    I shut down my OMV and replaced a disc in one of my mirror raids

    mdadm is not hot swap the drive has to be failed then removed from the mdadm array before a new/replacement drive can be added, hence the array is currently inactive.

    cat /etc/mdadm/mdadm.conf

    the output of the above is odd, these arrays appear not to have been created using omv's gui, what hardware are you using

    Raid is not a backup! Would you go skydiving without a parachute?

    OMV 6x amd64 running on an HP N54L Microserver

  • I created the raids in older versions and did a clean install with omv 6 and I do not remember if I just connected the drives or if I had to add them in the GUI.

    Can I make omv create the mdadm config correctly?

  • 7ore

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!