Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mdadm --monitor & email
Date: Sun, 13 Feb 2011 18:46:58
Message-Id: AANLkTikRf=ZnmFOx3LqDG3z3ESKegeyjCVhVvBtyvxEb@mail.gmail.com
In Reply to: Re: [gentoo-user] mdadm --monitor & email by Mark Knecht
1 This is an automatically generated mail message from mdadm
2 running on c2stable
3
4 A TestMessage event had been detected on md device /dev/md/7.
5
6 Faithfully yours, etc.
7
8 P.S. The /proc/mdstat file currently contains the following:
9
10 Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
11 md6 : active raid1 sdc6[2] sdb6[1] sda6[0]
12 247416933 blocks super 1.1 [3/3] [UUU]
13
14 md3 : active raid6 sdc3[2] sdb3[1] sda3[0] sdd3[3] sde3[4]
15 157305168 blocks super 1.2 level 6, 16k chunk, algorithm 2 [5/5] [UUUUU]
16
17 md7 : active raid6 sdc7[2] sdb7[1] sda7[0] sdd2[3] sde2[4]
18 395387904 blocks super 1.2 level 6, 16k chunk, algorithm 2 [5/5] [UUUUU]
19
20 md126 : active raid1 sdc5[2] sdb5[1] sda5[0]
21 52436032 blocks [3/3] [UUU]
22
23 unused devices: <none>
24
25 On Sun, Feb 13, 2011 at 10:37 AM, Mark Knecht <markknecht@×××××.com> wrote:
26 <SNIP>
27
28 I added '--test' to the config file and restarted mdadm. The following
29 message was received in my GMail account.
30
31 I think I'm there except maybe for kicking off some sort of regular
32 tests of the arrays vs waiting for things to fail.
33
34 Cheers,
35 Mark
36
37
38 c2stable ~ # cat /etc/conf.d/mdadm
39 # /etc/conf.d/mdadm: config file for /etc/init.d/mdadm
40
41 # Misc options to pass to mdadm in monitor mode.
42 # For more info, run `mdadm --monitor --help` or see
43 # the mdadm(8) manpage.
44
45 MDADM_OPTS="--syslog --mail=markknecht@×××××.com --delay=1800 --test"
46 c2stable ~ #
47
48 This is an automatically generated mail message from mdadm
49 running on c2stable
50
51 A TestMessage event had been detected on md device /dev/md/7.
52
53 Faithfully yours, etc.
54
55 P.S. The /proc/mdstat file currently contains the following:
56
57 Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
58 md6 : active raid1 sdc6[2] sdb6[1] sda6[0]
59 247416933 blocks super 1.1 [3/3] [UUU]
60
61 md3 : active raid6 sdc3[2] sdb3[1] sda3[0] sdd3[3] sde3[4]
62 157305168 blocks super 1.2 level 6, 16k chunk, algorithm 2 [5/5] [UUUUU]
63
64 md7 : active raid6 sdc7[2] sdb7[1] sda7[0] sdd2[3] sde2[4]
65 395387904 blocks super 1.2 level 6, 16k chunk, algorithm 2 [5/5] [UUUUU]
66
67 md126 : active raid1 sdc5[2] sdb5[1] sda5[0]
68 52436032 blocks [3/3] [UUU]
69
70 unused devices: <none>

Replies

Subject Author
Re: [gentoo-user] mdadm --monitor & email Michael Orlitzky <michael@××××××××.com>