A bit of thought about RAID.
I was often confronted with people’s assumptions about RAID arrays in past job roles.
Thinking of those conversations, I decided to write a small and human-readable (I believe) article about this.
Let’s start by explaining what Hardware RAID is.
A RAID array-based in hardware requires a controller (AKA RAID Controller) physically installed in the system. Depending on your goal, and available hard drives, you can opt for several RAID levels — Please check about them here.
For not, let’s focus on what RAID can and cannot do for you.
What RAID will not be able to assure you?
Uptime of 100%. While a RAID-based logical volume can offer some resilience and prevent some downtime, like many other systems, this is not a magical solution to have zero downtime issues. With RAID, the risk associated with hardware still exists. If a RAID Controller fails, you will have downtime to replace it. However, failures on such components are indeed less current than, for example, a hard drive failing, given its moving parts.
RAID is NOT a backup solution!
A frequently tested and properly planned backup solution will never be replaceable with a RAID array.
You can suffer from data corruption, security incidents (ransomware attacks, for example), and many human errors. Only a proper backup solution will rescue you by restoring a good data set to replace the one you lost.
RAID will only protect you against hard drives failing on a running array and give you margin to replace the faulty drives (up to a limited number) without losing data or having downtime, but only this. I know I am repeating myself, but RAID is NOT a backup solution.
I would even advise that before considering RAID-based hardware, you should think ahead of a backup solution if you still don’t have one.
RAID does not always allow dynamically increasing in size of the existing array.
If you need more space, you cannot only add another drive to the array in most cases. Most of the time, it is true that you are going to have to start from the beginning, rebuilding and reinitialising the array.
Is RAID a good option for virtualisation and high-availability scenarios?
The answer is a straightforward No.
For such environments, the right choice is based on SAN storage.