A popular type of RAID array that many organisations use when seeking to have fast and safe access is RAID 10. It does deliver both of those attributes; therefore, it is very commonly used on server systems as well as Network-Attached Storage (NAS) devices. However, “safe” can be misinterpreted, and RAID 10 arrays do experience failures that result in lost data. Below we’ll explain what RAID 10 is, what types of failure it offers protection from, but also (equally important) what it does not protect you from.
RAID 10 is a combination of mirroring and striping; while the benefits from each of these are realised with respect to performance and redundancy in the event of failure, it has limitations regarding which disk failures it will tolerate and is still not a backup.
Mirroring (RAID 1), which creates identical copies of data on two disks to protect against failure, and striping (RAID 0), which speeds up data access by distributing it over multiple disks, combine in RAID 10 (also written RAID 1+0). In RAID 10, the disks are grouped into mirrored pairs, and the data is then distributed across those pairs.
You need at least four disks, with an even number of disks. It will give you a striped configuration that reads/writes quickly (because of striping), and a mirrored configuration where every piece of information has a complete second copy (because of mirroring). This is the “best of both worlds” configuration. However, because of this “best of both worlds,” it uses half of all available space to create the mirror.
Consider four disks as being two pairs. Data is broken up into stripes. Each stripe is written to one pair, and when it’s written to that pair, each disk in that pair writes that same stripe to itself, so there are always two copies. When reading from that pair, either disk can be read from since they’re identical, which makes reads fast. And when writing, the data is written to both disks at once.
Each pair contains two copies of every piece of information written to it. The data is distributed among the pairs. It is because the load is spread out that RAID 10 achieves high speeds. It achieves reliability through never having only one copy of any given item. This will remain true as long as the failures fall the right way, which is the crucial detail.
It is here that people often misunderstand RAID 10. The good news is that it can survive one disk failing in each mirror pair (potentially up to half the total number of disks), because the other disk in each pair will still have an exact duplicate copy. This is indeed resilient.
However, when both of the two disks on the same pair have failed, there is no duplicate version left; therefore all data is lost even though the rest of the drives are fully operational. So RAID 10 does not simply “survive half of the drives failing” but rather the correct half. With two disk failures within the same pair, you will lose all of your data.
Regardless of how resilient an array may be, it can still fail. In our case, we recover arrays fairly frequently. We commonly encounter the following reasons for these losses: both disks fail in a mirrored pair; a rebuild fails once a dead drive has been replaced, and while performing this rebuild, a second disk fails under the additional load; controller failure results in scrambled array configurations; human errors occur during maintenance, such as removing the incorrect drive; and corruption occurs to your filesystem layer on top of your array.
In addition, drives purchased at the same time also tend to degrade or fail around the same time. Due to this fact, there is a greater probability for multiple failures occurring in a relatively short time span than many users would assume, which is exactly what causes an otherwise safe RAID system to need recovery.
The most important point of all: RAID 10 is redundancy, not backup. Although it provides redundancy for failed disks, it has no protection for the things that actually cause most data loss, such as deleting files by accident, being attacked by ransomware, having corrupted files, failing controllers, fires or theft. When a file is accidentally deleted on a RAID 10 array, both mirrors have it deleted immediately.
RAID 10 maintains server uptime during a disk failure (which is very beneficial); however, it is not a substitute for a proper, separate backup solution. Consider it as providing uptime insurance, not as your sole copy.
When an array does fail, recovery does not mean rebuilding on the live disks, because that is risky. Instead, recovery means we image out each individual disk to some healthy disk set and then rebuild the virtual structure of the array from those images (the disk pairs, how they’re striped and the parameters), then extract your data from that rebuilt virtual structure, with no additional load on your original disks.
Doing it like that, most RAID 10 failures are recoverable, including multi-disk failures, as long as you power down the array promptly when it fails instead of trying to build it again multiple times.
The most frequently asked questions we get about RAID 10.
It depends on which disks. If one disk fails in each mirrored pair (up to half the number of disks in the array), RAID 10 can survive that loss because the remaining disk in each pair will have a complete copy of its partner’s data. However, if both disks in a pair fail, there is no longer a surviving copy of that data and therefore the entire array is gone. Thus, it survives specific types of failures, not just any half of the total number of disks.
No, and that’s the key point here. RAID 10 will protect against the failure of one drive, but not against other common sources of data loss such as deleting files, being hit with ransomware, corrupting files, controller failure, fire or theft. If you delete a file or if your data becomes corrupted, then that same damage happens to both mirrored drives at the same time. RAID 10 can keep your system up and running after one drive fails; however, you’ll still need an independent backup to protect your data.
Yes, usually. When two drives fail within the same pair, when a rebuild fails or when the controller dies, recovery is made possible using a method known as disk imaging. The virtual reconstruction of the original array configuration occurs based upon the images of all the drives. From those images, the information stored in them is extracted, without having to rebuild on the fragile original drives. Most RAID 10 failures can be successfully recovered as long as the system was turned off immediately following failure and not repeatedly rebuilt.
Shut down the system, and do not continuously rebuild the RAID: each rebuild is stressful for your fragile disk drives. First get a quote either over the telephone or via our online quote request form. Then simply send us the disk(s), removed from your server or enclosure and clearly labelled by bay (with a NAS unit, remove the disk(s) if possible, otherwise send the NAS itself); we will then safely image the disk(s) and reconstruct your RAID array. Please feel free to post your disk(s) to us from anywhere in Northern Ireland or from anywhere else in the UK. Alternatively please drop off your disk(s) at our offices here in Belfast (no appointment needed).