source: postlfs/filesystems/mdadm.xml@ b6d51d20

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b6d51d20 was b6d51d20, checked in by Ken Moffat <ken@…>, 11 years ago

mdadm-3.3 - NB I've replaced 'make everything' by 'make', but mentioned it as an optional command.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11818 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.3 KB
Line 
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 "abb19b309281b93cf79d29fb2dfb2e85">
10 <!ENTITY mdadm-size "390 KB">
11 <!ENTITY mdadm-buildsize "8.3 MB">
12 <!ENTITY mdadm-time "less than 0.1 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 software RAID.</para>
34
35 &lfs74_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</userinput></screen>
95
96 <para>If you wish to run the tests, ensure that your kernel supports
97 RAID and that a version of mdadm is not already running, and issue:
98 <command>make test</command> and then, as the
99 <systemitem class="username">root</systemitem> user: ./test</para>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <para><option>--make everything</option>: This switch creates extra programs,
111 particularly a statically-linked version of <command>mdadm</command> and
112 also versions of <command>mdassemble</command>. These all need to be manually
113 installed.
114 </para>
115
116 </sect2>
117
118
119 <sect2 role="content">
120 <title>Contents</title>
121
122 <segmentedlist>
123 <segtitle>Installed Programs</segtitle>
124 <segtitle>Installed Libraries</segtitle>
125 <segtitle>Installed Directory</segtitle>
126
127 <seglistitem>
128 <seg>mdadm, mdmon and optionally mdassemble</seg>
129 <seg>None</seg>
130 <seg>None</seg>
131 </seglistitem>
132 </segmentedlist>
133
134 <variablelist>
135 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
136 <?dbfo list-presentation="list"?>
137 <?dbhtml list-presentation="table"?>
138
139 <varlistentry id="mdadm-prog">
140 <term><command>mdadm</command></term>
141 <listitem>
142 <para>manages MD devices aka Linux Software RAID.</para>
143 <indexterm zone="mdadm mdadm-prog">
144 <primary sortas="b-mdadm-prog">mdadm</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="mdmon">
150 <term><command>mdmon</command></term>
151 <listitem>
152 <para>monitors MD external metadata arrays.</para>
153 <indexterm zone="mdadm mdmon">
154 <primary sortas="b-mdmon">mdmon</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="mdassemble">
160 <term><command>mdassemble</command></term>
161 <listitem>
162 <para>is a tiny program that can be used to assemble MD devices
163 inside an initial ramdisk (initrd) or initramfs.</para>
164 <indexterm zone="mdadm mdassemble">
165 <primary sortas="b-mdassemble">mdassemble</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 </variablelist>
171
172 </sect2>
173
174</sect1>
Note: See TracBrowser for help on using the repository browser.