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?

  • AbouBenAdhem@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    3 years ago

    Was it RAID 0 (striped), or RAID 1 (mirrored)?

    In general, a mirrored RAID is best for minimizing data loss and downtime due to drive failure, while separate volumes and periodic backups is best for recovering from accidental file deletion or malware. (I.e., if a RAID gets told to write bad data, it’ll overwrite the good data on both drives at once.)

    If you want the best of both worlds with just two drives, try zfs—you can mirror the drives to protect against drive failure, and make snapshots to protect against accidental data loss. (This still won’t protect against everything—for that you should have some kind of off-site backup as well.)

  • mea_rah@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 years ago

    RAID is not backup. RAID is used for increased capacity, throughput or uptime. (Depending on configuration)

    Multiple volumes would likely get corrupted just as much with faulty RAM as RAID would. Besides RAM there’s controller, CPU, power supply and possibly more single points of failure in that NAS, that would destroy both RAID and multiple volumes.

    So assuming you have external backup, I’d go with RAID for better uptime as opposed to some custom multi volume pseudo-RAID for the same.

  • LrdThndr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Get another hard drive and do RAID5. Then you get striping AND parity.

    Or even better, get TWO more drives and do RAID10.

    I’ve got 8 SAS drives in a RAID10 and it’s lovely.