summaryrefslogtreecommitdiff
path: root/debian/README.Debian
blob: e42f3a77731c23634d8c135f187256b254417902 (plain)
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
mdadm for Debian
================

Please make sure you read into /usr/share/doc/mdadm/NEWS.Debian.gz . Also, the
documentation for the kernel md driver is included in
/usr/share/doc/mdadm/md.txt.gz as well as the md(4) manpage. *Do* read those!

The configuration file
~~~~~~~~~~~~~~~~~~~~~~
This version of mdadm now needs /etc/mdadm/mdadm.conf, which it will try to
generate during installation, if nonexistent.

You can use the output of /usr/share/mdadm/mkconf to generate your very own
mdadm.conf file, and look into
/usr/share/doc/mdadm/examples/mdadm.conf-example for inspiration.

Autostarting devices
~~~~~~~~~~~~~~~~~~~~
The mdadm.conf file controls which devices are to be started automatically by
mdadm during boot (assuming AUTOSTART is set to true in /etc/default/mdadm),
and various other parameters about how they are to be started. The file can
also contain some control parameters for the mdadm monitor daemon. See
mdadm.conf(5) for more information.

Note: this only applies to modular kernels. If you use a monolithic kernel,
you can control which devices are started automatically by changing the
partition type: 0xfd for autostart, 0x83 to prevent autostart. mdadm does not
actually care about the partition type, only the kernel does.

Common recipes
~~~~~~~~~~~~~~
Check /usr/share/doc/mdadm/README.recipes.gz for some simple examples of how
to do the most common stuff with mdadm.

RAID5 or not to RAID5
~~~~~~~~~~~~~~~~~~~~~
See http://www.miracleas.com/BAARF/BAARF2.html . The package maintainer could
not possibly come up with so much emotion over such a technical topic.

See also the RAID5_versus_RAID10.txt.gz document included with this package.

Upstream
~~~~~~~~
For completeness: The upstream repository is available from
  http://neil.brown.name/cgi-bin/gitweb.cgi?p=mdadm
  git clone git://neil.brown.name/mdadm

Debian package maintenance
~~~~~~~~~~~~~~~~~~~~~~~~~~
The package is maintained in SVN on alioth.debian.org. To obtain the source:

  svn://svn.debian.org/svn/pkg-mdadm/mdadm/trunk
  svn+ssh://<username>@svn.debian.org/svn/pkg-mdadm/mdadm/trunk

The second form is for developers with the intention to contribute. If you
want to join the mdadm effort, please talk to me.

Since the SVN repository only store the ./debian directory, you need the
upstream tarball as well. I suggest using svn-buildpackage.

Please do not forget to tag new releases.

 -- martin f. krafft <madduck@debian.org>  Fri, 07 Jul 2006 10:55:42 +0200

$Id$