The mdadm package contains administration tools for software RAID.
This package is known to build and work properly using an LFS-7.5 platform.
Download (HTTP): http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-3.3.1.tar.xz
Download MD5 sum: 4227d48de62dfb217c92fa0c54171bbe
Download size: 400 KB
Estimated disk space required: 8.6 MB
Estimated build time: less than 0.1 SBU
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.
File Systems: Device Drivers: Multiple devices driver support (RAID and LVM): Y RAID support: Y or M Autodetect RAID arrays during kernel boot: Y Linear (append) mode: Y or M RAID-0 (striping) mode : Y or M RAID-1 (mirroring) mode : Y or M RAID-10 (mirrored striping) mode: Y or M RAID-4/RAID-5/RAID-6 mode : Y or M
First, fix a problem inroduced by gcc-4.9.0:
sed -i 's/Wall -Werror/Wall/' Makefile
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
Now, as the
--make everything: This switch creates
extra programs, particularly a statically-linked version of
mdadm and also
versions of mdassemble. These all need to be
Last updated on 2014-08-06 14:52:27 +0000