this post was submitted on 06 Apr 2024
86 points (89.8% liked)

Selfhosted

39435 readers
6 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Trying to squeeze some more storage in my MiniPC. I have questions about these. These use hardward RAID with selectable modes (Individual/JBOD/RAID1/RAID2).

  1. If I use RAID 1 and one of the drives fails, will I know?

  2. If a drive fails, and a slap in a new one, will it internally begin repairing RAID 1 again?

  3. Can I use these as "individual" or JBOD and have 2 separate drives through the same connector, and use something like TrueNAS to software-RAID them?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 7 months ago (3 children)

As in, hardware RAID is a terrible idea and should never be used. Ever.

With hardware RAID, you are moving your single point of failure from your drive to your RAID controller - when the controller fails, and they fail more often then you would expect - you are fucked, your data is gone, nice try, play again some time. In theory you could swap the controller out, but in practice it's a coin flip if that will actually work unless you can find exactly the same model controller with exactly the same firmware manufactured in the same production line while the moon was in the same phase and even then your odds are still only 2 in 3.

Do yourself a favour, look at an external disk shelf/DAS/drive enclosure that connects over SAS and do RAID in software. Hardware RAID made sense when CPUs were hewn from granite and had clock rates measures in tens of megahertz so offloading things to dedicated silicon made things faster, but that's not been the case this century.

[–] [email protected] 5 points 7 months ago (1 children)
[–] [email protected] 2 points 7 months ago

I see that you, too, bear scars of RAIDs.

[–] [email protected] 2 points 7 months ago (1 children)

OP should be looking at backup before considering RAID anyway, because RAID is not backup.

[–] [email protected] 2 points 7 months ago

Correct, it's not obvious when first diving in but the main use for RAID is increasing performance and availability by allowing up to a specific number of drive failures. For that to work, ideally in an enterprise you'd have a primary and secondary controller to mitigate that point of failure which is not typical for most homelabs and makes backup even more important.