Kernel Options
When you are configuring the kernel, the software RAID kernel features are all found under the Multiple devices driver support (RAID and LVM) subsection, regardless of the configuration method you use. Feel free to compile each level into the kernel statically or as a module.
[*] Multiple devices driver support (RAID and LVM) <*> RAID support <M> Linear (append) mode <*> RAID-0 (striping) mode <M> RAID-1 (mirroring) mode <*> RAID-4/RAID-5 mode <M> Multipath I/O support
With older versions of the kernel, it was necessary to enable support for Development and/or Incomplete Code/Drivers. But with version 2.4, you no longer need to enable that option because the RAID code is stable and included as part of the standard kernel.
Here is a list of kernel options for software RAID.
- Multiple devices driver support
(
CONFIG_MD) CONFIG_MDenables support for representing multiple physical block devices as a single logical device.CONFIG_MDmust be enabled before RAID options will appear during kernel configuration.CONFIG_MDis also needed for LVM support.- RAID support
(
CONFIG_BLK_DEV_MD) CONFIG_BLK_DEV_MDactivates the base RAID driver, which contains code that is shared among all software RAID levels. Individual RAID levels must be selected afterCONFIG_BLK_DEV_MDis enabled. RAID levels will not appear during kernel configuration unless this option is selected first.- Linear (append) mode
(
CONFIG_MD_LINEAR) CONFIG_MD_LINEARallows multiple drives to be concatenated end-to-end so that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access