File: Software-RAID.HOWTO-1.html

package info (click to toggle)
raidtools2 0.90.990824-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 688 kB
  • ctags: 468
  • sloc: ansic: 2,631; makefile: 143; sh: 114
file content (96 lines) | stat: -rw-r--r-- 4,606 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>The Software-RAID HOWTO: Introduction</TITLE>
 <LINK HREF="Software-RAID.HOWTO-2.html" REL=next>

 <LINK HREF="Software-RAID.HOWTO.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="Software-RAID.HOWTO-2.html">Next</A>
Previous
<A HREF="Software-RAID.HOWTO.html#toc1">Contents</A>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>

<P>For a description of the older RAID layer, the one which is standard
in 2.0 and 2.2 kernels, see the excellent HOWTO from Linas Vepstas
(
<A HREF="mailto:linas@linas.org">linas@linas.org</A>)
available from the Linux Documentation Project at 
<A HREF="http://linuxdoc.org">linuxdoc.org</A>.
<P>The home site for this HOWTO is 
<A HREF="http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/">http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/</A>, where updated
versions appear first.  The howto is written by Jakob
&Oslash;stergaard based on a large number of emails between the author
and Ingo Molnar 
<A HREF="mailto:mingo@chiara.csoma.elte.hu">(mingo@chiara.csoma.elte.hu)</A> -- one of the RAID developers --,
the linux-raid mailing list 
<A HREF="mailto:linux-raid@vger.rutgers.edu">(linux-raid@vger.rutgers.edu)</A> and various other people.
<P>The reason this HOWTO was written even though a Software-RAID HOWTO
already exists is, that the old HOWTO describes the old-style Software
RAID found in the standard 2.0 and 2.2 kernels. This HOWTO describes
the use of the new-style RAID that has been developed more
recently. The new-style RAID has a lot of features not present in
old-style RAID.
<P>If you want to use the new-style RAID with 2.0 or 2.2 kernels, you
should get a patch for your kernel, either from 
<A HREF="ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha">ftp://ftp.[your-country-code].kernel.org/pub/linux/daemons/raid/alpha</A>,
or more recently from 
<A HREF="http://people.redhat.com/mingo/">http://people.redhat.com/mingo/</A> The standard 2.2 kernels does
not have direct support for the new-style RAID described in this
HOWTO.  Therefore these patches are needed.  <EM>The old-style RAID
support in standard 2.0 and 2.2 kernels is buggy and lacks several
important features present in the new-style RAID software.</EM>
<P>As of this writing, the new-style RAID support is being merged into
the 2.3 development kernels, and will therefore (most likely) be
present in the 2.4 Linux kernel when that one comes out. But until
then, the stable kernels must be patched manually.
<P>You might want to use the <CODE>-ac</CODE> kernel releases done by Alan
Cox, for RAID support in 2.2.  <EM>Some</EM> of those contain the
new-style RAID, and that will save you from patching the kernel
yourself.
<P>Some of the information in this HOWTO may seem trivial, if you know
RAID all ready. Just skip those parts.
<P>
<P>
<H2><A NAME="ss1.1">1.1 Disclaimer</A>
</H2>

<P>The mandatory disclaimer:
<P>Although RAID seems stable for me, and stable for many other people,
it may not work for you.  If you lose all your data, your job, get
hit by a truck, whatever, it's not my fault, nor the developers'.  Be
aware, that you use the RAID software and this information at
your own risk!  There is no guarantee whatsoever, that any of the
software, or this information, is in anyway correct, nor suited for
any use whatsoever. Back up all your data before experimenting with
this. Better safe than sorry.
<P>That said, I must also say that I haven't had a single stability
problem with Software RAID, I use it on quite a few machines with no
problems what so ever, and I haven't seen other people having problems
with random crashes or instability caused by RAID.
<P>
<P>
<H2><A NAME="ss1.2">1.2 Requirements</A>
</H2>

<P>This HOWTO assumes you are using a late 2.2.x or 2.0.x kernel with a
matching raid0145 patch and the 0.90 version of the raidtools, or that
you are using a late 2.3 kernel (version &gt; 2.3.46) or eventually
2.4. Both the patches and the tools can be found at 
<A HREF="ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha">ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha</A>, and in
some cases at 
<A HREF="http://people.redhat.com/mingo/">http://people.redhat.com/mingo/</A>. The RAID patch, the raidtools
package, and the kernel should all match as close as possible. At
times it can be necessary to use older kernels if raid patches are not
available for the latest kernel.
<P>
<P>
<HR>
<A HREF="Software-RAID.HOWTO-2.html">Next</A>
Previous
<A HREF="Software-RAID.HOWTO.html#toc1">Contents</A>
</BODY>
</HTML>