is "multiple RAID 1" possible?

  • Hi @all,


    I got myself a Quad SATA HAT for my Raspberry Pi4 which runs on openmediavault and supports RAID 0, 1 and 5.

    Yes, I know about RAID 5 and parity but I want to use RAID 1.

    It would be a waste of the Quad SATA HAT (since there is a DUAL version, too, but I got the Quad version) if I used only 2 HDDs.


    That's why I ask:

    Is it possible to define two RAID 1 (2 x 2 mirrored HDDs) with openmediavault?


    Thanks,

    Markus

  • KM0201

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    Should be... You'd jsut need 4 disks, 2 disks would be in raid-1, 2 disks would be in raid-2 (obviously their raid levels, would both be raid1)


    I'm not familiar with that hat, but make sure that doesn't run on the USB bus, as USB raid is not supported in OMV.


    Beyond that, Raid1 is honestly a pretty terrible idea. You'd be better served just setting up the 4 disks independently, and then just schedule some automatic rsync jobs to sync "Drive 1" to "Drive 2 and "Drive 3" to Drive 4". It honestly just saves a lot of headache.


    • Offizieller Beitrag

    That is a usb to sata hat.

  • I mean... the product page shows that it offers RAID 0/1/5 and it is connected to 2 USB-Ports of the raspberry, and it runs OMV.

    so why shouldn't it work as a RAID?

    I saw two videos where people built as "NAS" with exactelly this HAT.

    it's connected to the LAN network through, obviously, the Raspberry.

    and the HAT connects the SATA ports with 2 USB-Ports which works quite fine, if you believe the videos on youtube.


    Yes, using two disks independently with a job to copy the data to the other two HDDs is also an option for me.

    I don't *need* a RAID, it just want to have the data duplicated.

    and yes, I keep the data on our PCs as well, the "NAS" should just contain the two copies.


    Yes I read about "a NaS iS nOt A bAcKuP" but honestly: I don't store the answer to life the universe and everything on it.

    having the copies on the NAS is okay.

    I'm running "WD RED PRO" NAS HDDs in my gaming PC which come with 5 years of warranty + data recovery service, a cloud backup for the REALLY important data.


    I just wondered about the "USB raid is not supported in OMV." since this is what the HAT is built and advertised for :D

    • Offizieller Beitrag

    the product page shows that it offers RAID 0/1/5 and it is connected to 2 USB-Ports of the raspberry, and it runs OMV.

    That is correct. Doesn't mean OMV supports raid on that hat.

    the "NAS" should just contain the two copies.

    With raid 1, the only time you have "two" copies is when a disk fails. If ransomware wrote to your raid array, both copies would be overwritten at the same time.

    I saw two videos where people built as "NAS" with exactelly this HAT.

    I own one.

    I'm running "WD RED PRO" NAS HDDs in my gaming PC which come with 5 years of warranty + data recovery service

    That warranty doesn't mean anything if you get hit with virus, ransomware, or accidental delete.


    I just wondered about the "USB raid is not supported in OMV." since this is what the HAT is built and advertised for

    Just because a device can do something doesn't mean it should. I could create a large array with 16 usb sticks but that doesn't mean I should. Raid is all about redundancy. usb is terrible for that. There is also nothing redundant about an RPi. All of that means raid on usb (and on rpi) is a terrible idea. Can you create a raid array on that hat and use it in OMV? Yep but I'm not posting how to do it because I don't think people should and I definitely don't want to support people who have problems running something we tell them not to do.

    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!

    • Offizieller Beitrag

    I have 4 pairs of RAID 1 level (4 groups of 1TB of 8TB totals)

    Are you bot? What does this have to do with the 4 sata port rpi hat?

    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!

  • weird, that they recommend using openmediavault without telling us that you lose the RAID feature :D

    Yes, you are right, but with a cronjob that mirrors the (non RAID) disk to another once a day I also will have the virus on the second HDD.

    I'm a software developer and webdesigner, I know a little bit about computers haha.
    the really important things are in the cloud and I do a manual backup to an external hard drive.
    So I hope that I will be smart enough to not copy the virus infected files to my external drive :D


    My storage will contain music, videos, photoshop files, the source of some website projects (which can be retreived from the FTP server if I'd lost them) and stuff like that.


    No, the warranty does not include virus infection but if my hard drive AND my NAS will fail simultaneously and the cloud is not reachable and my external hard burst into flames, I could send my main drives to the data rescue service of WD.

    I also know a data recovery specialist who helped some of my customers with defective hard drives and USB sticks.


    Haha yes I know you can add a USB raid manually to OMV and I know about LVM.

    Don't worry, I won't do this haha.


    I think I will use two disks without RAID and let a scheduled task copy the data to the 3rd and 4th HDD.


    Thanks for your time, help and opinion :)

    • Offizieller Beitrag

    weird, that they recommend using openmediavault without telling us that you lose the RAID feature

    They have never worked with Volker or me as far as I know.


    Yes, you are right, but with a cronjob that mirrors the (non RAID) disk to another once a day I also will have the virus on the second HDD.

    If you use something like rsnapshot, that isn't a problem. There is very little chance that virus would affect Linux and OMV does have a virus scanner to clean up Windows viruses.

    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!

    • Offizieller Beitrag

    No Not a BOT!

    Then what does you comment have to do with the thread?

    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!

  • They have never worked with Volker or me as far as I know.


    If you use something like rsnapshot, that isn't a problem. There is very little chance that virus would affect Linux and OMV does have a virus scanner to clean up Windows viruses.

    yeah they just developed a HAT that works with OMV and recommend OMV in their docs and videos.
    Eeven their support could not tell me any other software since they only wrote one connector to display data on the OLED which they grab from OMV. So I told about the issue and they instantly added a note to the product page, that OMV does not support USB RAID.

    they offered me
    a.) a refund if I send it back
    b.) a guide on how to create and add a RAID manually
    c.) a custom firmware that supports hardware RAID

    I DO NOT believe that it really exists but they wrote that they connected all neccessary pins on the HAT.
    The normal firmware does not use them, only the USB ports.
    If they send it to me, I could share it with you, if you want.

    So I will just use rsnapshot which is fine, since I don't need a high availability at home.
    Maybe I'll buy a second board just to see if they REALLY support hardware RAID.
    if so, why wouldn't they just make this a public feature?

    Or maybe I'll just grab my multimeter and trace the connectors / pins and see, if any (at the moment unused) GPIO is connected to anything.



    EDIT: Since OMV is optional it's totally bullsh*t what they wrote. their "connector to OMV" does not read the hard drive data that's displayed on the OLED. it displayed the information before I installed OMV.

  • These sneaky little bast***s.

    I just got an email from their technical contact person:
    "as you can see we clearly state that USB RAID is not possible with OMV".

    Don't they know that waybackmachine of archive.org exists?

    That was yesterday:


    That is today:


    Even if their HAT works just fine with OMV, I don't recommend to buy their stuff.

    • Offizieller Beitrag

    c.) a custom firmware that supports hardware RAID

    I DO NOT believe that it really exists but they wrote that they connected all neccessary pins on the HAT.
    The normal firmware does not use them, only the USB ports.
    If they send it to me, I could share it with you, if you want.

    While I still would not use it, "hardware" raid at least eliminates the problem with assembling the array on startup. It would be the equivalent of a multi-disk enclosure that has "hardware" raid but still connected via usb.


    Connected to what pins? Not sure what they mean by that. I only see pins in the wiki for their NAS case. I would try it if it eliminated usb and the loading of the "driver".

    if so, why wouldn't they just make this a public feature?

    The JMS561 does support 0/1/jbod according to the micron page. Not sure why they don't release it.

    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!

    • Offizieller Beitrag

    I just got an email from their technical contact person:
    "as you can see we clearly state that USB RAID is not possible with OMV".

    usb raid is possible but just can't be created. Their workaround is humorous though - create and mount from command line then use sharerootfs to create shared folders.

    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!

Jetzt mitmachen!

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