this post was submitted on 09 Jul 2023
27 points (90.9% liked)

Selfhosted

40347 readers
457 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
27
submitted 1 year ago* (last edited 1 year ago) by mfigueiredo to c/selfhosted
 

With SSD storage, what what your thoughts on redundant storage devices (e.g RAID1), is it a waste, a nice to have or a must?

what are your experiences and thoughts on this ?

Appreciate your opinion, as I will probably move from HDD to SSD.

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

I'm quite disappointed by most comments so far talking about RAID and data loss. That is not what RAID is for at all.

RAID is for uptime/availability. When a drive fails, the system will keep running and working. For companies, that would lose thousands of currency per hour with a downtime, this is super important that the system keeps running. At home, it's convenience that you can order a new drive and replace without hours of setting up and copying before you can watch the next episode again.

Backups are against data loss. If a single drive fails, a RAID fails or you get some encryption malware or an employee destroys stuff on purpose, then everything is destroyed. It doesn't matter if it was a single, any RAID, HDD or SSD. You order a new drive, make a new volume and restore the data from your backup.

[–] [email protected] 14 points 1 year ago

Well, more specifically it is protecting against a specific form of data loss, which is hardware failure. A good practice if you're able is to have RAID and an offsite/cloud backup solution.

But if you don't, don't feel terrible. When the OVH datacentre had a fire, I lost my server there. But so did a lot of businesses. You'd be amazed at how many had no backup and were demanding that OVH somehow pry their smouldering drives from what remained of the datacentre wing and salvage all the data.

If you care about your data, you want a backup that is off-site. Cloud backup is quite inexpensive these days.

[–] [email protected] 4 points 1 year ago

I also thought that way in the beginning, but then disaster recovery is too inconvenient and will take weeks to set everything to your standards, while with raid you just replace the drive and go

Not to mention that "temporary" directory that was supposed to last one week and wasn't included in the backup script, but then happened to last several months holding important files

[–] thejoker8814 2 points 1 year ago

I have to agree, RAID has only one purpose - keep your data/ storage operating during a disk failure. Does not matter which RAID level or SW. Thank god you mentioned it before.

There can be benefits in addition depending on RAID level and layout, for example read & write speed or more IOP/s than an individual disk (either SSD or HDD). However, the main purpose is still to eliminate a single disk as a single point of failure!

Back to topic - if you have a strong requirement to run your services which (rely) on the SSD storage, even if a disk fails - then SSD Raid yes.

For example.: I have s server running productive instances of Seafile, Gitea, and some minor services. I use them for business. Therefore those services have to be available, even if one disk fails. I cannot wait to restore a backup, wait for a a replacement disk and tell a client, Hey, sorry my server disk failed” (unprofessional)

For protection against data loss - backups: one local on another NAS, one in the cloud. 👌🏼