Subject: Re: RAID-diagnostic with amr-driver
To: Peter Jordan <>
From: Manuel Bouyer <>
List: tech-kern
Date: 11/24/2006 20:02:06
On Fri, Nov 24, 2006 at 12:36:02PM +0100, Peter Jordan wrote:
> Hi!
> We run netbsd on i386 port and LSI MegaRAID SCSI 320-1 Controller with RAID
> 1 and two harddisks.
> Is there any possibility to get information about an harddisk error? E.g.
> one hardisk fails. How we get this error and can send an message to replace
> the broken harddisk.

You can use the in-tree amrctl. I have added this to my /etc/daily.local:
/sbin/amrctl stat -f /dev/amr0 -b
/sbin/amrctl stat -f /dev/amr0 -l0

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference