Raid only 3 of 4 active HELP! State: Clean, degraded

  • Hello guys,


    i must change my mainboard because of a failure.
    Now i have problems with my Raid. There is only 3 of 4 active.



    Code
    root@NAS:~# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md126 : inactive sdb[2](S)
    2930265560 blocks super 1.2
    md127 : active raid5 sda[0] sdd[3] sde[1]
    8790795264 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UU_U]
    unused devices: <none>



    How can i fix it?

  • mdadm --stop /dev/md126
    mdadm --stop /dev/md127
    mdadm --assemble /dev/md127 /dev/sd[aebd] --verbose --force

    omv 5.6.9 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • It is not better.


    Look@: mdadm: added /dev/sdb to /dev/md127 as 2 (possibly out of date)


  • I would wipe /dev/sdb and then try again. Hope you have backup. You could mount the array with 3 out of 4 and try to recover data first.


    mdadm --stop /dev/md127
    dd if=/dev/zero of=/dev/sdb bs=512 count=20000
    mdadm --assemble /dev/md127 /dev/sd[aebd] --verbose --force

    omv 5.6.9 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I dont have any Backup.


    But i do yesterday this.


    Code
    mdadm --zero-superblock /dev/sdb


    After this i was in the WebGui of OMV. There i bind sdb in the raid.


    The state now:


    Do you mean i lost my data?

  • Let it finish recovering and hopefully the data is there.

    omv 5.6.9 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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