|
Linux System
Administration
Filesystems (Continued)
|
RAID Configuration -
mdadm.conf
- The configuration file can contain two types of lines
each starting with either the DEVICE or ARRAY keyword.
- Whitespace separates the keyword from the configuration
information.
- DEVICE lines specify a list of devices that are
potential member disks.
- ARRAY lines specify device entries for arrays as well
as identifier information.
- This information can include lists of one or more
UUIDs, md device minor numbers, or a listing of member devices.
DEVICE /dev/sda1 /dev/sdb1
/dev/sdc1 /dev/sdd1
ARRAY /dev/md0
devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1
devices=/dev/sdc1,/dev/sdd1