The mdadm package contains administration tools for software RAID.
This package is known to build and work properly using an LFS-7.7 platform.
This package is known to build and work properly using the gcc-5 compiler.
Download (HTTP): http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-3.3.3.tar.xz
Download MD5 sum: dabd5ce70f3fff340cad7c18e4a062ab
Download size: 404 KB
Estimated disk space required: 8.6 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mdadm
Enable the following options in the kernel configuration and recompile the kernel, if necessary. Only the RAID types desired are required.
Device Drivers ---> [*] Multiple devices driver support (RAID and LVM) ---> [CONFIG_MD] <*> RAID support [CONFIG_BLK_DEV_MD] [*] Autodetect RAID arrays during kernel boot [CONFIG_MD_AUTODETECT] <*/M> Linear (append) mode [CONFIG_MD_LINEAR] <*/M> RAID-0 (striping) mode [CONFIG_MD_RAID0] <*/M> RAID-1 (mirroring) mode [CONFIG_MD_RAID1] <*/M> RAID-10 (mirrored striping) mode [CONFIG_MD_RAID10] <*/M> RAID-4/RAID-5/RAID-6 mode [CONFIG_MD_RAID456]
Install mdadm by running the following commands:
If you wish to run the tests, ensure that your kernel supports RAID
and that a version of mdadm is not already running, and issue:
make test and then,
root user: ./test. Some
tests may fail, depending on the enabled kernel options.
Now, as the
make everything: This target creates
extra programs, particularly a statically-linked version of
mdadm and also
versions of mdassemble. These all need to be
Last updated on 2015-07-25 16:05:00 +0000