this post was submitted on 14 Dec 2023
32 points (84.8% liked)

Selfhosted

40313 readers
185 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
 

I recently got a few (5) hard drives to turn my home server into a NAS with trueNAS scale and my idea is to have 4 usable and 1 for redundancy, my question is... How does RAID work, like what is RAID 0, RAID 5, software RAID etc, and does any of that even matter for my use case?

you are viewing a single comment's thread
view the rest of the comments
[–] Presi300@lemmy.world 1 points 11 months ago (1 children)

All my disks are 2TB so it shouldn't be a massive issue

[–] redline23@lemmy.world 1 points 11 months ago

I personally wouldn't use raidz1 because it seems too risky to me. I'd have higher redundancy.

Some links

https://www.truenas.com/community/threads/raidz1-vs-raid-5-ures.42598/

https://www.truenas.com/community/threads/5x-4tb-raidz1-array-rebuilding-with-nre-ure-issue.13719/

https://magj.github.io/raid-failure/

The last link is talking about actual raid and not zfs. But it has a 50/50 chance with a URE rate of 10^14 to lose the array. Raidz1 maybe won't have that catastrophic of a failure, but you'd still be rolling the dice on some corruption.