Using RAID in Linux - page 3
The Mysteries of RAID
And, by the way, just exactly what do we want from RAID?
In general, two things: high speed or high reliability. And, if we can, both of them.
We can acheive high speed in some variants of RAID by setting in-out operations in two parallel modes to several different disk devices. We can increase reliability because several kinds of RAID keep track of additional information that helps to restore data after system crash.
For example, assume we need a "fast" RAID system. First, it should be noted that RAID can parallelize data streams for physical devices only, so paritions in "fast" RAID systems need to be on different hard drives. If you are using IDE-RAID be sure to remove all slave devices! Any one of these devices will slow down data exchange for other devices because in IDE it's impossible to maintain different data exchange rates with both devices on one cable.
For "reliable" RAID systems, you need to remember the above mentioned IDE-RAID caveat too, though for another reason. Even if you have SCSI or some other type of device, don't place too many devices on one interface. For example, in the case of a 40 Mbit UW-interface, with hard drives that each support data streams of 10-12Mbit, we don't need to place more than 3-4 such disks on that cable.
Let's discuss "reliable" RAID some more, and just what that term means. You should never think that software RAID will protect you from all software problems and errors or will eliminate the neccessity of performing a backup of your system. Nothing could be further from the truth. Any RAID is a low-level function, and any data corruption done by the system will be invisible to the RAID functions and will be duplicated on additional hard stores. The same holds true about any kind of disk errors, which cannot be detected by controller, either.
You also shouldn't try to use RAID in place of an APC reserve-power device--once the electricity is off, some data exchange transactions on the disks could be in different stages of completion, and after the next reload, the array will be asynchronized. To minimize the probability of such trouble, some hardware RAIDs can be integrated with reserve power batteries.
So basically, here's what you should know: "reliable" RAID can help you to keep your data safe only in case of good disk hardware error detection, which depends on the "level" of RAID--something we will discuss in the next section.
- 1Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 2Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 3Linux 4.6 Charred Weasel adds USB 3.1 Support
- 4Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader
- 5Linux Top 3: KaOS 2016.04, TurnKey 14.1 and pfSense 2.3