On Tue, Oct 28, 2008 at 04:26:11PM -0700, Don Jackson wrote: > On Oct 28, 2008, at 3:47 PM, Robert Franklin wrote: > > > Did you read the man page for arc(4)? It says right there. > > I did, and I'm not seeing anything. > > It does talk about this: > -a alarm-function > Control the RAID card's alarm functionality, if supported. > alarm-function may be one of: > > disable Disable the alarm on the RAID controller. > enable Enable the alarm on the RAID controller. > get Retrieve the current alarm state (enabled or > disabled). > silence | quiet > Silence the alarm if it is currently beeping. > > The alarm-function may be specified as given above, or > by the > first letter only (e.g. -a e). > But this all seems related to turning on/off the beeper, rather than > giving me some textual indication of the health of the raid system. > > If my server is in a colo miles away, the "alarm" buzzer is not going > to be particularly useful to me. > > Compare this to the ami driver, which states: > Logical disk status is exposed under the hw.sensors sysctl(8) and > can be > monitored using sensorsd(8). For example: > > $ sysctl hw.sensors.ami0 > hw.sensors.ami0.drive0=online (sd0), OK > hw.sensors.ami0.drive1=degraded (sd1), WARNING > hw.sensors.ami0.drive2=failed (sd2), CRITICAL > This exactly the kind of thing I am asking if arc supports, and if it > doesn't (which is what I suspect), then IMHO, OpenBSD's support for > Areca cards is not as awesome as its support for LSI Megaraid boards
Yes, it should work the same as ami/mfi. ie: hw.sensors.arc0.drive0=online (sd0), OK hw.sensors.arc0.drive1=online (sd1), OK hw.sensors.arc0.drive2=online (sd2), OK hw.sensors.arc0.drive3=online (sd3), OK hw.sensors.arc0.drive4=online (sd4), OK hw.sensors.arc0.drive5=online (sd5), OK hw.sensors.arc0.drive6=online (sd6), OK hw.sensors.arc0.drive7=online (sd7), OK hw.sensors.arc0.drive8=online (sd8), OK hw.sensors.arc0.drive9=online (sd9), OK hw.sensors.arc0.drive10=online (sd10), OK If you have an sgpio enabled controller you can toggle LEDs on disk bays etc.