You might have heard what RAID stands for. RAID is an abbreviation from Redundant Array of Independent Disks. Having independent disks is the main idea behind RAID (water is wet, right?), since it improves the fault tolerance and the chances that if something goes wrong, you will not lose your important data.
Fun fact: it was called Redundant Array of Inexpensive Disks at first, but since the vendors thought it suggests the low price of the disks, it was later changed to Redundant Array of Independent Disks.
In a nutshell, RAID is meant to distribute your data between several hard (or solid state) drives, resulting (depending on the chosen RAID level) in more fault-tolerance and/or speed. You can sometimes use RAID on your personal computer, but they are mainly used for servers.
Now that we got that out of the way, let’s explain the most popular levels without getting too technical, shall we?
RAID 0, also called DISK STRIPING
To begin, imagine you have two hard drives. You want to write data on them as fast as you can. What do you do? Well, you could write data on both drives at the same time. So, for an example, if you want to write the word “Hello” on your drives, you would write “H”, “l” and “o” to drive number 1, and “e”, “l” to the second drive.
Since you can perform two actions at once, the writing times are cut in half. The negative side of RAID 0 is that if one of the drives fails or there’s a power outage, you can lose all your data.
RAID 0 is recommended for services that need to be especially fast.
Such services might include live streaming services or video editing, which might otherwise take quite a long time.
RAID 1, also called DISK MIRRORING
Double trouble! Well, not so much trouble. If you have valuable information that you can’t afford to lose (but you still have a limited budget), RAID 1 might be the right solution for you. Mirroring just doubles the same data on two (or more) drives, making it more fault-tolerant, but also slower.
Essentially, it’s like writing with both hands at the same time – it’s going to slow the system down since it doubles all the actions, but when one drive fails, you can always turn to the other one to ask for your valuables back. Another downside is that it uses up double the space, so it is more expensive than just having one drive.
RAID 1 is recommended for services that store critical information, such as application servers or drives that have important information on them.
RAID 5, also called DISK STRIPING WITH PARITY
RAID 5 is a slightly more complicated version of RAID 0. All the data gets written on (at least) 3 disks, but the third disk contains the sum (parity) of data written on the first two disks. So, for an example, if the sum of the first disk’s data is 10, the sum of the second one is 20, then the parity number is 10 + 20 = 30. Now, if the first disk fails, the parity can be used for what it’s meant for – the second drive’s sum gets subtracted from the parity (30 – 20 = 10). With that calculated number, the missing data can be rewritten.
RAID 5 is faster than just disk mirroring (RAID 1) and offers more fault tolerance. However, it is not as fast as RAID 0, since the drives still need to calculate the parity after each write. It is also quite expensive, since it requires at least 3 drives, and 1/3 of the storage space is taken up by the parity.
RAID 5 is recommended for file storage servers, business servers and NAS devices
This RAID does pretty much what it says – it combines the first and second RAID levels. In short, it combines the speed of RAID 0 and the performance of RAID 1. The main downside of using RAID 1+0 is that it is expensive, since you need at least 4 drives. Also, write times are twice as slow as the read times, since two copies will be written at the same time.
RAID 1+0 is recommended for servers that must do a lot of writing
Even if you use RAID, you should still have a good data backup. Especially if you’re a small business, keeping your data safe and sound is crucial. Disasters tend to strike when you least expect them, and it is always good to be prepared ahead of time.
PRO offers data backup for small businesses that is both reliable and cost-effective.
Read more here.