Wait, so how do you actually use the md plugin?

  • I must admit I'm feeling a bit dense even asking this, but...



    ...as you can see in the above screenshot, my RAID 6 is degraded because one of the 5 disks suddenly blinked out (an ATA error was reported and the drive vanished completely).


    I've removed the disk and have a replacement on order. But, what is the correct procedure to add this new disk to the array and let it rebuild?


    I've searched the forums, looked at the omv-extras wiki, and can't for the life of me determine what the toolbar buttons do. I see "Recover" and "Maintenance" - what do these do? - whereas "Add" and "Remove" are greyed out.


    Once I shut down my server, plug in the new disk, restart and wipe it from within OMV, will the "Add" button then become available? Or am I supposed to click on "Recover?"

  • Hello.

    Last time I used this steps (failed disk in the server)


    English isn't my native language, so, sorry if I make mistakes ^^


    OMV 8.5.10-1 | Linux 7.2.6+deb13-amd64 | docker 29.8.2-1 | openmediavault-omvextrasorg 8.0.3

    Plugins (up to date) : 2fa-totp, apt, backup, clamav, cputemp, fail2ban, ftp, kernel, locate, md, nut, remotemount, resetperms, sharerootfs, snmp, wbprefs

    • Official Post

    Use AI and CLI to replace the disk, that is the best approach. All commands are in the UI as well, but you NEED to know what to do. The maintenance of a raid requires knowledge, because you can badly break you RAID.

  • Thank you jroch74 for linking that thread, wouldn't have found it with the search terms I was using...


    votdev indeed, I will study the mdadm command in detail and make sure I'm prepared.


    Having said that - it seems as simple as clicking the Recover button and selecting my new drive (assuming that I installed it and restarted the NAS, then wiped it from within OMV). Am I wrong?


    I'm also curious what the "Maintenance" button is for. Just manually triggering a RAID scrub, or something else?

  • Update:


    Hot-plugged the new disk into my NAS, then rebooted so the BIOS (and thus, OMV) would see it.

    (I stopped using the SATA port that the old drive was connected to and replaced the cable as well, just in case.)


    Enabled SMART monitoring and scheduled checks to match the existing disks.

    Performed a quick wipe.


    After that, it was as easy as clicking "Recover," reading the banner note, adding the new disk, and watching it go - saying "clean, degraded, recovering."


    Somewhere around 36 hours later, it was done and all is well. 🙂

  • cubemin

    Added the Label resolved

Participate now!

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