Adding additional drive to RAID5

  • 2 months and no one bothered to reply... I signed up just for this, it's just unbelievable to me that no one would help (or that no one knows how to do this incredibly basic operation).


    If you used the GUI to try to grow your RAID array, that was the "accident" that caused the drive to be added as a spare instead of growing the array. The OMV GUI can't seem to grow RAID arrays properly, throws an error and leaves the added device as a spare.


    Go to the command line (either local console or ssh) and run (as root or with sudo):


    mdadm --grow /dev/md0 --raid-devices=4 --backup-file=/root/raid5_grow.backup


    Assuming /dev/md0 is the raid device. You can then monitor the reshape using:


    watch cat /proc/mdstat

    Once the reshape is done, you'll need to expand the filesystem to grab the extra space.

  • 2 months and no one bothered to reply... I signed up just for this, it's just unbelievable to me that no one would help (or that no one knows how to do this incredibly basic operation).

    I am usually the one to reply to raid questions. I guessed I missed this one. You could've bumped it.

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    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!

  • Had the answer since I ran into similar issues, so I provided it. It's just strange, OMV looks like a solid alternative to FreeNAS and other distros, but seeing something basic like this being unanswered for two months... seems unusual (and should definitely not be just one person's responsibility, I'd expect anyone from the community should be able to contribute).

  • OMV looks like a solid alternative to FreeNAS and other distros

    It is better in my opinion...


    but seeing something basic like this being unanswered for two months...

    We are much smaller than freenas and not commercially backed like they are. Just a few of us answer posts. And most don't deal with raid much. So, it can happen. I would say it is not the norm though. Most people say our forum support is much better than others.


    seems unusual (and should definitely not be just one person's responsibility, I'd expect anyone from the community should be able to contribute).

    I don't know why more people don't contribute. I would definitely welcome the help. I do think we have a high population of people new to Linux though.

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    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!