1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY mdadm-download-http "&kernel;/linux/utils/raid/mdadm/mdadm-&mdadm-version;.tar.xz">
|
---|
8 | <!ENTITY mdadm-download-ftp " ">
|
---|
9 | <!ENTITY mdadm-md5sum "2fd33dedcdb06f0d1461f50ddabb7e4a">
|
---|
10 | <!ENTITY mdadm-size "360 KB">
|
---|
11 | <!ENTITY mdadm-buildsize "17 MB">
|
---|
12 | <!ENTITY mdadm-time "0.5 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="mdadm" xreflabel="mdadm-&mdadm-version;">
|
---|
16 | <?dbhtml filename="mdadm.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>mdadm-&mdadm-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="mdadm">
|
---|
26 | <primary sortas="a-mdadm">mdadm</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to mdadm</title>
|
---|
31 |
|
---|
32 | <para>The <application>mdadm</application> package contains administration
|
---|
33 | tools for sorfware RAID.</para>
|
---|
34 |
|
---|
35 | &lfs72_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&mdadm-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&mdadm-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &mdadm-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &mdadm-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &mdadm-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &mdadm-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <para condition="html" role="usernotes">User Notes:
|
---|
60 | <ulink url="&blfs-wiki;/mdadm"/></para>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | <sect2 role="kernel" id='mdadm-kernel'>
|
---|
65 | <title>Kernel Configuration</title>
|
---|
66 |
|
---|
67 | <para>Enable the following options in the kernel configuration
|
---|
68 | and recompile the kernel, if necessary. Only the RAID types desired
|
---|
69 | are required. </para>
|
---|
70 |
|
---|
71 | <screen><literal>File Systems:
|
---|
72 | Device Drivers:
|
---|
73 | Multiple devices driver support (RAID and LVM): Y
|
---|
74 | RAID support: Y or M
|
---|
75 | Autodetect RAID arrays during kernel boot: Y
|
---|
76 | Linear (append) mode: Y or M
|
---|
77 | RAID-0 (striping) mode : Y or M
|
---|
78 | RAID-1 (mirroring) mode : Y or M
|
---|
79 | RAID-10 (mirrored striping) mode: Y or M
|
---|
80 | RAID-4/RAID-5/RAID-6 mode : Y or M</literal></screen>
|
---|
81 |
|
---|
82 | <indexterm zone="mdadm mdadm-kernel">
|
---|
83 | <primary sortas="d-mdadm">mdadm</primary>
|
---|
84 | </indexterm>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of mdadm</title>
|
---|
90 |
|
---|
91 | <para>Install <application>mdadm</application> by running the following
|
---|
92 | commands:</para>
|
---|
93 |
|
---|
94 | <screen><userinput>make everything</userinput></screen>
|
---|
95 |
|
---|
96 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
97 |
|
---|
98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="content">
|
---|
105 | <title>Contents</title>
|
---|
106 |
|
---|
107 | <segmentedlist>
|
---|
108 | <segtitle>Installed Programs</segtitle>
|
---|
109 | <segtitle>Installed Libraries</segtitle>
|
---|
110 | <segtitle>Installed Directory</segtitle>
|
---|
111 |
|
---|
112 | <seglistitem>
|
---|
113 | <seg>mdadm and mdmon</seg>
|
---|
114 | <seg>None</seg>
|
---|
115 | <seg>None</seg>
|
---|
116 | </seglistitem>
|
---|
117 | </segmentedlist>
|
---|
118 |
|
---|
119 | <variablelist>
|
---|
120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
121 | <?dbfo list-presentation="list"?>
|
---|
122 | <?dbhtml list-presentation="table"?>
|
---|
123 |
|
---|
124 | <varlistentry id="mdadm-prog">
|
---|
125 | <term><command>mdadm</command></term>
|
---|
126 | <listitem>
|
---|
127 | <para>manages MD devices aka Linux Software RAID.</para>
|
---|
128 | <indexterm zone="mdadm mdadm-prog">
|
---|
129 | <primary sortas="b-mdadm-prog">mdadm</primary>
|
---|
130 | </indexterm>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry id="mdmon">
|
---|
135 | <term><command>mdmon</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>monitors MD external metadata arrays.</para>
|
---|
138 | <indexterm zone="mdadm mdmon">
|
---|
139 | <primary sortas="b-mdmon">mdmon</primary>
|
---|
140 | </indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | </variablelist>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | </sect1>
|
---|