Question

RAID 5 hadn’t a specifies spare disk

On RAID 5 a spare disk wasn’t specified. So does not it matter if the parameter spare-devices isn’t used on CREATE? So which disk will be used as spare?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi,

You do not have to specify a spare disk during creation of RAID 5. RAID 5 can still work when one of its disk fails. Although you do not have to have a spare drive in RAID 5, there are two good reasons to consider having it:

  1. The performance of RAID 5 decreases dramatically in degraded state (when one disk fails). Performance stays low until you replace a disk and its content is rebuilt again. If you have a spare disk in your RAID 5 configuration, the performance is decreased just for the time when disk content is being rebuilt.
  2. Having a spare disk in your RAID 5 configuration mitigates a risk of data loss. Imagine the scenario when you get one disk failed, and before you replace it the other disk fails as well. You loose your data then.