mdtab5
Configuration file for md devices
Overview
/etc/mdtab is a configuration file for the md tools (mdadd and co). Its goal is to record a configuration for each md device the system should be configurated for.
Format
/etc/mdtab describe each md device, one per line, with the following syntax :
md_dev mode,c,f,crc32 dev1 dev2 ... devn
- md_dev
-
md device (e.g. /dev/md0),
- mode
-
one of
linear,raid0orraid1,
- c
-
chunk factor (optional, not applicable to
linearmode). Can also be set asnkwhere n is the chunk size in kilobytes,
- f
-
maximum fault number (optional, not applicable to
linearnorraid-0mode),
- crc32
-
optional control informations added by mdcreate. This is checked by
mdaddand co when using the md device.
- dev1 ...
-
real devices that are part of the md device.
Each section is separated by spaces or tabs. Note that there are no spaces in the option field.
Files
/etc/mdtab
Releases
7 releases since Debian 1.1 (Buzz); the text changed 2 times.