RAID 5 Missing

  • Hi all,


    I had a disk fail and now my RAID 5 is missing. I replaced the faulty HDD, but still no luck. I have had a look through some of the threads and tried a few things, but nothing has worked. Here is what seems to be the required information:


    blkid:

    Zitat

    /dev/sda1: UUID="0f72f2fc-e1fe-4266-8b68-6d161df6914e" TYPE="ext4"
    /dev/sda5: UUID="70a0f915-bdb1-4b73-9514-68bde5029345" TYPE="swap"
    /dev/sdc: UUID="37f96e4f-5cda-2828-282b-10765bd12256" UUID_SUB="8b21a8d7-f0a5-bc26-8fad-c07da9964417" LABEL="openmediavault:Data" TYPE="linux_raid_member"
    /dev/sdd: UUID="37f96e4f-5cda-2828-282b-10765bd12256" UUID_SUB="6000a1ca-f8a0-102a-1848-1bb7ec55dc77" LABEL="openmediavault:Data" TYPE="linux_raid_member"


    cat /proc/mdstat

    Zitat

    Personalities : [raid6] [raid5] [raid4]
    md127 : inactive sdc[3] sdd[4]
    3907027120 blocks super 1.2


    unused devices: <none>


    Any suggestions on how I might go about resurrecting my RAID? I am relatively inexperienced at linux, so simple, step-by-step help appreciated.


    Thanks in advance :)

    • Offizieller Beitrag

    You are missing some needed output. Read this

    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!

  • Thanks - I missed that. Here is the rest of the information:


    fdisk -l


    cat /etc/mdadm/mdadm.conf


    mdadm --detail --scan --verbose

    Zitat

    mdadm: cannot open /dev/md/Data: No such file or director


    The disks (all 2TB) are:
    sda VB0250EAVER
    sdb TOSHIBA DT01ACA2
    sdc WDC WD20EFRX-68E
    sdd TOSHIBA DT01ACA2


    Thanks.

    • Offizieller Beitrag

    mdadm --stop /dev/md127
    mdadm --assemble --force --verbose /dev/md127 /dev/sd[bcd]
    update-initramfs -u

    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!

  • Thanks very much for that. I had to change

    Zitat

    mdadm --assemble --force --verbose /dev/md127 /dev/sd[bcd]


    to

    Zitat

    mdadm --assemble --force --verbose /dev/md127 /dev/sd[cd]


    and then add the new drive, but it is now assembling. Thanks for your help!


    Would I be better off (in terms of backup) changing from RAID 5 to 2 x RAID 1?

Jetzt mitmachen!

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