RAID 5 versus RAID 5 + Spare

Is RAID 5 + Spare preferable to simple RAID 5?  I understand that my storage space with four 4TB HD is reduced from approx 12TB to approx 9TB.  But my understanding is that I have the capability for a “hot spare” with RAID 5 + Spare and that I do not have a hot spare with simple RAID 5.  I also think I understand that simple RAID 5 is potentially problematic when one drive fails in that there is a finite risk of other drive failures when a failed drive is replaced and the array re-builds itself.

Do I have it correctly?  BTW, I am backing my array up to Elephant Drive.  If storage space is not an issue, i.e., 9TB is sufficient for current and intermediate term requirements, is RAID 5 + Spare a better configuration?

Before I go too much further with populating My Cloud.  I would prefer, if generally recommended, to re-configure now with a small amount of data than later with a much larger amount.

Thanks

If your budget stretches enough then you can determine what you can afford to lose and what you can’t afford to lose. Get an external USB3 storage, set-up a copy job and make a back-up to your own USB3 storage. If you have another NAS then that could be used. If you know how to use the Linux commmand shell then you can use rsync directly to synchronise a back-up with the DL NAS.

I’m trying to figure out the advantage of a RAID5+spare. I’ve opted for for simple RAID5.

1 Like

Thanks much for your thoughts.  If you come up with additional thoughts regarding RAID5 + Spare, please post them.

IMHO, RAID5+Spare is only useful if the time it takes to get a replacement drive is measured in weeks.

Can you explain, please.  I probably don’t really understand RAID5 + Spare.

My original question was raised by some 2010-2012 discussions in other forums regarding the relative value of RAID6 versus RAID5 it which it seemed to be generally agreed that RAID 6 was superior because of apparent system failures in RAID5 systems during rebuilding after a drive failure.  Apparently because of the way RAID6 works such risks seen with RAID5 are obviated in drive failures in RAID6 systems.

I thought that perhaps RAID5 + spare might reduce such risks by automatically defaulting to the spare drive and automatically rebuilding in the face of a drive failure among the other 3 in a RAID5 + spare setup.

Since I mostly don’t know too much about RAID systems and concepts, I was hoping to optimize my system before getting too far down the road with a lot of data storage that would need to be restored if I switched from RAID 5 to RAID5 + Spare.

Thanks to anyone who is willing to educate.

I think you’re got the basics down correctly.

RAID5 (of four disks) – All four drives are running, reading, and writing.   If you lose a disk, it’ll go into “DEGRADED” mode, but all data is still available and Read/Write normally.

RAID5+Spare (of four disks) – THREE drives are running, reading, and writing in a 3-Drive RAID5 array.   If you lose a drive, and automatic rebuilds are enabled, the volume goes DEGRADED, the SPARE drive becomes ACTIVE and the array rebuilds into that spare drive.  It goes back to “Healthy” once the rebuild is completed.

When you replace the failed drive, it becomes the spare.

So, you’re sacrificing the space the 4th drive gives you, but you’re assured that the array is left in DEGRADED mode for as short a time as possible.

But if you have access to replacement drives fairly quickly (like within a few weeks) and you’re using RAID5 (with no spare), leaving it in DEGRADED mode for that long while you wait for a replacement isn’t a huge risk.  Especially since you’re also backing it up to an outside service.

RAID6 is different than RAID5 in that TWO drives are dedicated to Parity data, whereas in RAID5, only one is.

So if you’re doing RAID6, you’d have the same capacity is RAID5+SPARE, but it can survive the concurrent failure of TWO disks before the volume is unavailable.

1 Like

Thanks, very much.  That was a pretty lucid explanation.

Yes, you have a good understanding of the differences between RAID 5 and RAID 5 with a spare drive. Let me clarify and provide some additional insights:

  1. RAID 5:
  • In a simple RAID 5 configuration with four 4TB hard drives, you would indeed have approximately 12TB of usable space (3 drives’ worth), and one drive’s worth of capacity is used for parity.
  • The RAID 5 array can tolerate the failure of one drive without losing data. If a drive fails, the data can be reconstructed from the parity information stored on the remaining drives during the rebuild process.
  1. RAID 5 + Spare:
  • With RAID 5 and a spare drive, you have the advantage of a hot spare. If one of the active drives fails, the spare drive automatically takes over, reducing the risk of extended exposure to a degraded state and minimizing the chance of a second drive failure during the rebuild process.

Given your situation, here are some considerations:

  • Storage Space: RAID 5 + Spare will have slightly less usable space compared to a simple RAID 5 (in your case, approximately 9TB instead of 12TB). If 9TB is sufficient for your current and intermediate-term needs, this reduction may not be a significant concern.
  • Fault Tolerance: RAID 5 with a hot spare provides an additional layer of fault tolerance compared to a simple RAID 5. The hot spare can kick in automatically, reducing the time the array operates in a degraded state.
  • Rebuilding Risk: You are correct that during the rebuild process in a simple RAID 5, if another drive fails, the entire array is lost. RAID 5 + Spare mitigates this risk by having a spare ready to take over if a failure occurs during the rebuild.
  • Backup: It’s great that you have a backup strategy in place with Elephant Drive. This is crucial for protecting against data loss due to scenarios like multiple drive failures, accidental deletions, or other unforeseen issues.

Considering the benefits of having a hot spare and the added fault tolerance, RAID 5 + Spare can be a better choice if the reduction in usable space is acceptable for your storage needs. If you value the extra layer of protection and are willing to trade a bit of capacity for it, reconfiguring with RAID 5 + Spare is a reasonable decision, especially if you plan to store a significant amount of data on the array.

The necroposting and generic advice in neutral tone are the easiest tip offs.

I am beginning to think we are the only two still using this forum.

Even the forum hall monitors have wandered off.