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?

    • Offizieller Beitrag

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

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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)


    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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?

    • Offizieller Beitrag

    Let it finish recovering and hopefully the data is there.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!