summaryrefslogtreecommitdiff
path: root/debian/mdadm.templates
blob: 071f7063337c9d2aefc25b13f63132ac249bb27f (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
66
67
68
69
70
71
Template: mdadm/warning
Type: note
_Description: Initialise the superblock if you reuse hard disks
 WARNING! If you are using hard disks which have RAID superblocks from earlier
 installations in different RAID arrays, you MUST zero each superblock
 *before* activating the autostart feature.
 .
 To do this, do not start the RAID devices automatically. First, zero the
 superblock (mdadm --zero-superblock /dev/mdX). Next, use `dpkg-reconfigure
 mdadm` to reactivate the autostart feature.
 .
 If you manage your RAIDs otherwise (e.g. EVMS), either disable autostart, or
 ensure that /etc/mdadm/mdadm.conf only lists those arrays you want to start
 by mdadm.

Template: mdadm/initrdstart
Type: string
Default: all
_Description: RAID arrays needed for the root filesystem:
 If your system has its root filesystem on a RAID volume, it needs to be
 started early during the boot sequence. If your root filesystem is on
 a logical volume (LVM), which is on RAID, all constituent arrays need to be
 started.
 .
 If you know exactly which arrays are needed to bring up the root filesystem,
 enter them here. Alternatively, enter 'all' to simply start all available
 arrays. If you do not need or want to start any arrays for the root
 filesystem, leave the answer blank (or enter 'none').
 .
 You have the option to start all other arrays (those not needed for the root
 filesystem) later in the boot sequence. Doing so will give you greater
 control over the arrays with the mdadm configuration file. Starting all
 arrays at boot-time may be safer though.
 .
 Please enter a space-separated list of devices, or 'all'. You may omit the
 leading '/dev/' and just enter e.g. "md0 md1".

Template: mdadm/autostart
Type: boolean
Default: true
_Description: Do you want to start RAID devices automatically?
 Once the base system has come up, mdadm can start all RAID devices specified
 in /etc/mdadm/mdadm.conf, which have not yet been started. Unless you have
 compiled RAID support into the kernel (in which case all RAID arrays with
 partitions of type 0xfd (and only those) are started automatically anyway),
 this is probably what you want.

Template: mdadm/autocheck
Type: boolean
Default: true
_Description: Should mdadm run monthly parity checks of the RAID arrays?
 If your kernel supports it (>> 2.6.14), mdadm can periodically check the
 parity of your RAID devices. This may be a resource-intensive process,
 depending on your setup, but it could help prevent rare cases of data loss.
 .
 The default, if turned on, is to run the checks on the first Sunday of every
 month at 01:06 o'clock.

Template: mdadm/start_daemon
Type: boolean
Default: true
_Description: Do you want to start the RAID monitoring daemon?
 The RAID monitor daemon sends email notifications in response to important
 RAID events (such as a disk failure). You probably want to enable it.

Template: mdadm/mail_to
Type: string
Default: root
_Description: Recipient for email notifications:
 Please enter the email address of the user who should get the email
 notification for these important RAID events.