glfs/postlfs/filesystems/mdadm.xml
Bruce Dubbs f60685075f LFS7.4 tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11675 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-08-23 10:32:24 +00:00

149 lines
4.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY mdadm-download-http "&kernel;linux/utils/raid/mdadm/mdadm-&mdadm-version;.tar.xz">
<!ENTITY mdadm-download-ftp " ">
<!ENTITY mdadm-md5sum "2afc306135466923fe5020d743bff9a4">
<!ENTITY mdadm-size "364 KB">
<!ENTITY mdadm-buildsize "16.4 MB">
<!ENTITY mdadm-time "0.4 SBU">
]>
<sect1 id="mdadm" xreflabel="mdadm-&mdadm-version;">
<?dbhtml filename="mdadm.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>mdadm-&mdadm-version;</title>
<indexterm zone="mdadm">
<primary sortas="a-mdadm">mdadm</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to mdadm</title>
<para>The <application>mdadm</application> package contains administration
tools for software RAID.</para>
&lfs74_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&mdadm-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&mdadm-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &mdadm-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &mdadm-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &mdadm-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &mdadm-time;</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/mdadm"/></para>
</sect2>
<sect2 role="kernel" id='mdadm-kernel'>
<title>Kernel Configuration</title>
<para>Enable the following options in the kernel configuration
and recompile the kernel, if necessary. Only the RAID types desired
are required. </para>
<screen><literal>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</literal></screen>
<indexterm zone="mdadm mdadm-kernel">
<primary sortas="d-mdadm">mdadm</primary>
</indexterm>
</sect2>
<sect2 role="installation">
<title>Installation of mdadm</title>
<para>Install <application>mdadm</application> by running the following
commands:</para>
<screen><userinput>make everything</userinput></screen>
<!-- <para>This package does not come with a test suite.</para> -->
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>mdadm and mdmon</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="mdadm-prog">
<term><command>mdadm</command></term>
<listitem>
<para>manages MD devices aka Linux Software RAID.</para>
<indexterm zone="mdadm mdadm-prog">
<primary sortas="b-mdadm-prog">mdadm</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mdmon">
<term><command>mdmon</command></term>
<listitem>
<para>monitors MD external metadata arrays.</para>
<indexterm zone="mdadm mdmon">
<primary sortas="b-mdmon">mdmon</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>