Raid 5 with 3 X 2TB with one faulty drive. By accident removed working drive. Now i cannot add it no more

  • See subject.


    By accident i have replace an ok drive (sdb) instead of the faulty one (sdc). I have removed the new drive from sdb and replace it with the old working one, but i cannot add it to my raid again :(



    • Offizieller Beitrag

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

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • unmount before stopping worked to stop, but i still have only a & c in my raid hmmmmm

    • Offizieller Beitrag

    Must be something wrong with sdb then. You don't have to use sudo when you are logged in as root either.


    Assuming you have a backup, you could try:


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

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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 have an old backup and now in the proces of refreshing. Then i wil do the dd thing. Thanks for help again!
    So when you do su and have root privileges sudo does not solve problems; keep than in mind ;)


    The suggestion from rye gave me this:



    I rebooted the system couple of times and wiped b. It is rebuilding. What happened i don't know.
    SDC still has a red status. After rebuild i will swap it with a spare one.

Jetzt mitmachen!

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