this post was submitted on 02 Dec 2024
28 points (91.2% liked)

Selfhosted

40474 readers
381 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 2 years ago
MODERATORS
 

I have a 2 bay NAS, and I was planning on using 2x 18tb HDDs in raid 1. I was planning on purchasing 3 of these drives so when one fails I have the replacement. (I am aware that you should purchase at different times to reduce risk of them all failing at the same time)

Then I setup restic.

It makes backups so easy that I am wondering if I should even bother with raid.

Currently I have ~1TB of backups, and with restics snapshots, it won't grow to be that big anyways.

Either way, I will be storing the backups in aws S3. So is it still worth it to use raid? (I also will be storing backups at my parents)

you are viewing a single comment's thread
view the rest of the comments
[–] Atemu@lemmy.ml 2 points 1 day ago* (last edited 8 hours ago) (1 children)

RAID does not protect your data, it protects data uptime.

RAID cannot ensure integrity (i.e bitrot protection). Its one and only purpose it to mitigate downtime.

[–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 1 points 1 day ago (1 children)

ZFS or other software RAIDs can though. Does anyone stll use hardware raid anyways?

[–] Atemu@lemmy.ml 1 points 7 hours ago

ZFS and BTRFS' integrity checks are entirely independent of whether you have redundancy or not. You don't need any sort of RAID to get that; it also works on a single disk.
The only thing that redundancy provides you here is immediate automatic repair if corruption is found. I've written about why that isn't as great as it sounds in another reply already.

Most other software RAID can not and does not protect integrity. It couldn't; there's no hashing. Data verification is extremely annoying to implement on the block level and has massive performance gotchas, so you wouldn't want that even if you could have it.