Adding extra drives to a RAID 5 array. OMV 6

  • Is there a risk of corruption if I perform growing my array in a UI or doing

    $ mdadm --zero-superblock /dev/sdX

    I am planning to add one more drives to my 4x4 tb array, unsure if this is how to do it. I did a lsblk and the last drives showing /dev/sdf is not in a raid 5 partition and is 4TB.

  • Per se there is always a added risk of loosing data when doing RAID Operation because all the drives are heavily utilised during those operations.

    This is why RAID is not a backup.

    And during any sort of grow operations any array is particulary at risk.

    If you are unsure you can just do the grow operation through the Web Interface.

    If you want to do it through the CLI for some reason there are a bunch of tutorials online.

    The commands would be:

    • mdadm --add /dev/md1 /dev/sdf1
    • mdadm –grow /dev/md0 –raid-devices=4
    • mdadm --grow /dev/md1 --size=max
    • then grow the filesystem, this command depends on the fs you are using.

Participate now!

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