this post was submitted on 24 Aug 2023
0 points (NaN% liked)

Selfhosted

40198 readers
777 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 have a DS220+ with 2 identical drives, configured as RAID, so just one volume. Everything was working great, but to access the new object-recognition in photos, I added RAM, which caused some corruption and now the volume is read-only and won't repair itself (even after removing the RAM). So now I'm preparing to do an external backup and rebuild the NAS. But now I'm wondering: If volume issues are more likely than drive issues, should I forget about RAID, create one volume on each drive, and use the second volume as a local backup? Or is RAID still the best first line of defence? (Or is there a way I can do both with two drives?

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

You should get/use one external drive for backups that you store separately (can be your 2nd or a new one). Having two separate internal drives for backup is not safe, as the system can damage data on both at the same time (e.g. malware/encryption, data corruption etc.).

RAID is for availability/uptime. I like to compare it to a shop system at the checkout. You can't have shop payments halted if one drive fails, so you have a RAID. It allows you to repair/replace while the system keeps running and your business keeps operating. In a large business, every hour of downtime can cost you hundreds of thousand of currency, so RAID gets even more sophisticated. Downtime is not an option.

At home this is up to you. RAID can save you some hassle and grant performance, but likely costs you more money than it saves you. Backup is key, so have at least one separately stored copy and depending on the importance of your data, also have an off-site backup.