Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



On Thu, 28 Feb 2008 10:18:38 -0800
Jason Thorpe <thorpej%shagadelic.org@localhost> wrote:

> 
> On Feb 28, 2008, at 8:47 AM, Juan Romero Pardines wrote:
> 
> >
> > Module Name:        src
> > Committed By:       xtraeme
> > Date:               Thu Feb 28 16:47:53 UTC 2008
> >
> > Modified Files:
> >     src/sys/dev/pci: arcmsr.c arcmsrvar.h
> >
> > Log Message:
> > Register a sensor per disk connected to a valid volume, so that we
> > can get more details if state on a disk or volume has changed,
> > previously only state about the volume was available.
> >
> > You'll see something like this with envstat(8) now:
> >
> > $ envstat -darcmsr0
> > RAID 5 volume0 (sd0):   building
> > disk0 volume0 (sd0):     online
> > disk1 volume0 (sd0):     online
> > disk2 volume0 (sd0):     online
> > disk3 volume0 (sd0):     online
> > $
> 
> Can someone please explain to me what RAID status has to do with  
> environmental sensors?

Useful if you want to be notified if any drive in a volume has failed.

/etc/powerd/scripts/sensor_drive is used for this, and I want at least
to be emailed when such state happens.

-- 
Juan Romero Pardines             The NetBSD Project
http://plog.xtrarom.org/         NetBSD/pkgsrc news in Spanish
http://mklivecd.xtrarom.org/     Make your own NetBSD Live CD/DVD!


Home | Main Index | Thread Index | Old Index