From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

RAID 1

RAID 1

- Let's talk about RAID 1 mirroring. If you look at the slide here, we have an image with a controller and two drives, Drive 1 and Drive 2, each of which are 2 terabytes. When you run RAID 1 mirroring, what happens is the controller writes all data to both drives simultaneously. The benefit of this is that you have a copy of all data on a second drive. So, if the first drive or the second drive fails, the other one will take over automatically. Then, we just need to rebuild the drive, take out the drive that has failed and put in a new one, and then rebuild that mirror. But the whole idea here is that we're copying the data to both drives. So, we have a fault-tolerant setup. When the controller writes to the drives, it's going to be slower than if you had a single drive or if you had a stripe of drives. And that's because we're writing data to two drives at the same time. You can reduce that slowness a little bit and make it a little bit quicker by having two controllers, one for each…

Contents