> Behalf Of Jakob Østergaard
> Sent: Friday, November 12, 1999 3:42 AM
>
> On Fri, Nov 12, 1999 at 12:18:44PM +0100, Danilo Godec wrote:
> > Hi!

> > However, are there any tools already available to monitor
> the md device
> > and notify the administrator via mail, modem, pager etc.?
>
> It should be fairly simple to grep for underscores in
> /proc/mdstat using
> cron+{perl,grep,whatever} and send a mail if one is found.
>
> When a disk dies it is marked in /proc/mdstat like  [UU_U].

But that is not the ONLY underscore;

[root@raven src]# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 hdd1[1] hdc1[0] 6297344 blocks [2/2] [UU]
unused devices: <none>
[root@raven src]#

Please note the name "read_ahead".

Reply via email to