Appendix B. The MD region manager

Table of Contents

1. Characteristics of Linux RAID levels
1.1. Linear mode
1.2. RAID-0
1.3. RAID-1
1.4. RAID-4/5
1.5. Multipath
2. Creating an MD region
2.1. RAID-0 options
2.2. RAID-1 options
2.3. RAID-4/5 options
3. Active and spare objects
3.1. Adding spare objects
3.2. Removing spare objects
3.3. Adding active objects to RAID-1
4. Faulty objects
4.1. Removing faulty objects
4.2. Fixing temporarily failed objects
4.3. Marking objects faulty
5. Resizing MD regions
5.1. Linear
5.2. RAID-0
5.3. RAID-1
5.4. RAID-4/5
6. Replacing objects

The Multi-Disk (MD) driver in the Linux kernel and the MD plug-in in EVMS provide a software implementation of RAID (Redundant Array of Inexpensive Disks). The basic idea of software RAID is to combine multiple hard disks into an array of disks in order to improve capacity, performance, and reliability.

The RAID standard defines a wide variety of methods for combining disks into a RAID array. In Linux, MD implements a subset of the full RAID standard, including RAID-0, RAID-1, RAID-4, and RAID-5. In addition, MD also supports additional combinations called Linear-RAID and Multipath.

In addition to this appendix, more information about RAID and the Linux MD driver can be found in the Software RAID HOWTO at www.tldp.org/HOWTO/Software-RAID-HOWTO.html.