Re: Serial ATA RAID ctrl on PCI

2008-10-29 Thread Noah Pugsley
For example:

# bioctl arc0
Volume  Status   Size Device 
 arc0 0 Online  199336448 sd0 RAID6
  0 Online   500107862016 0:0.0   noencl ST3500320AS SD15
  1 Online   500107862016 0:1.0   noencl ST3500630AS 3.AAG
  2 Online   500107862016 0:2.0   noencl ST3500320AS SD15
  3 Online   500107862016 0:3.0   noencl ST3500320AS SD15
  4 Online   500107862016 0:4.0   noencl ST3500320AS SD15
  5 Online   500107862016 0:5.0   noencl ST3500320AS SD15

# sysctl hw.sensors.arc0
hw.sensors.arc0.drive0=online (sd0), OK

 From /etc/sensorsd.conf

drive:command=echo %t failed with status: %s %2 on %x | mail -s 
`hostname` sensorsd CRITICAL \(RAID\) alarm



Stuart Henderson wrote:
 On 2008-10-28, Don Jackson [EMAIL PROTECTED] 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.
 

 ...
  arc supports alarm control and monitoring of volumes configured on the
  controllers via the bio(4) interface and the bioctl(8) utility.
 ...



Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread J.C. Roberts
On Monday 27 October 2008, Mikolaj Kucharski wrote:
 Hi,

 I'm looking SATA controller with h/w RAID support which is working on
 OpenBSD and has:

 - minimum 4 SATA ports (internal preferably)
 - Built-in RAID 0, RAID 1, RAID 1+0, RAID 5
 - Hot swap (not a must)
 - PCI bus
 - large drives support (500GB)
 - use as RAID and non-RAID controller (not a must)

You didn't mention SATA 150 versus SATA 300 (aka SATA 2) ?

You didn't mention PCI width (32-bit versus 64-bit) ?

You didn't mention PCI speed (33, 66, 100, 133 MHz) ?

Attempting Hot-Swap with SATA drives is normally an invitation to 
disaster.

The following are listed as supported on: 
http://www.openbsd.org/i386.html

LSI MegaRAID SATA 150-4(four disk) PCI 64-bit/66 MHz 
LSI MegaRAID SATA 150-6(six disk)  PCI 64-bit/66 MHz 
LSI MegaRAID SATA 300-4X   (four disk) ?
LSI MegaRAID SATA 300-4XLP (four disk) ?
LSI MegaRAID SATA 300-8X   (eight disk) PCI-X 64-bit, 133/100/66 MHz
LSI MegaRAID SATA 300-8XLP (eight disk) ?

You can get more info on the above from here:
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sata/index.html

For some strange reason LSI is no longer listing the plain 300-4X but 
it is still listing the 300-4XLP

If you have the wild idea of taking a four 500+GB drives and striping 
them together into a single partition of 2+TB size, realize the sane 
limit on OpenBSD 4.3 is only 1TB. I remember seeing Marco@ post 
something about building a 2TB partition, but he's a trained 
professional and licensed to do crazy stuff :-)

-JCR



Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread Claudio Jeker
On Mon, Oct 27, 2008 at 11:14:50PM +, Mikolaj Kucharski wrote:
 Hi,
 
 I'm looking SATA controller with h/w RAID support which is working on
 OpenBSD and has:
 
 - minimum 4 SATA ports (internal preferably)
 - Built-in RAID 0, RAID 1, RAID 1+0, RAID 5
 - Hot swap (not a must)
 - PCI bus
 - large drives support (500GB)
 - use as RAID and non-RAID controller (not a must)
 

Have a look at the man -k RAID output.

Especially arc(4) and ami(4) are great SATA RAID controllers on OpenBSD.
-- 
:wq Claudio



Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread Don Jackson

On Oct 28, 2008, at 5:46 AM, Claudio Jeker wrote:


Have a look at the man -k RAID output.

Especially arc(4) and ami(4) are great SATA RAID controllers on  
OpenBSD.


Does OpenBSD's  arc(4) driver support any method to report RAID status  
and/or failures?


If not, then how is an admin supposed to understand the health of arc  
supported RAID array?




Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread Robert Franklin
Did you read the man page for arc(4)? It says right there.


On Tue, Oct 28, 2008 at 4:24 PM, Don Jackson [EMAIL PROTECTED] wrote:
 On Oct 28, 2008, at 5:46 AM, Claudio Jeker wrote:

 Have a look at the man -k RAID output.

 Especially arc(4) and ami(4) are great SATA RAID controllers on OpenBSD.

 Does OpenBSD's  arc(4) driver support any method to report RAID status
 and/or failures?

 If not, then how is an admin supposed to understand the health of arc
 supported RAID array?



Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread Don Jackson
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




 On Tue, Oct 28, 2008 at 4:24 PM, Don Jackson [EMAIL PROTECTED]  
 wrote:
 On Oct 28, 2008, at 5:46 AM, Claudio Jeker wrote:

 Have a look at the man -k RAID output.

 Especially arc(4) and ami(4) are great SATA RAID controllers on  
 OpenBSD.

 Does OpenBSD's  arc(4) driver support any method to report RAID  
 status
 and/or failures?

 If not, then how is an admin supposed to understand the health of arc
 supported RAID array?



Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread Jonathan Gray
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.



Re: Serial ATA RAID ctrl on PCI

2008-10-28 Thread Stuart Henderson
On 2008-10-28, Don Jackson [EMAIL PROTECTED] 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.

...
 arc supports alarm control and monitoring of volumes configured on the
 controllers via the bio(4) interface and the bioctl(8) utility.
...



Re: Serial ATA raid

2006-10-02 Thread Francois Slabbert

LSI is cheaper anyway, so I'll steer away from the intel.

Daniel Ouellet wrote:

David Gwynne wrote:

On 29/09/2006, at 11:09 PM, Francois Slabbert wrote:


hi misc,

i'm looking to purchase a sata raid controller, and have shortlisted 
it down to two models for no particular reason other than the 
controllers being supported by openbsd, being 'afordable',compatible 
with the equipment i already have and available in a third world 
country. the two options i have is the intel srcs16 and the lsi 
megaraid sata-6, is there a clear winner between the two with 
regards to using it on openbsd - the array will be used for the 
archiving 'valuable' data.


The intel board is basically a rebadged lsi board. make your choice 
based on warranty and price.




Nope, I would say make your choice based on witch company actually 
respect your as a customers and Intel is simply not it!


Didn't you see the tread on misc@ lately!

Why don't you make your choice known to Intel as well now is a good 
time as ever.


If you really care about your choice of OS here you say OpenBSD, then 
make your voice eared with your money!


If you don't make your voice count with your wallet, why should 
company listen then?


Sometime company understand that much better then anything else!

Current reference:

http://marc.theaimsgroup.com/?l=openbsd-miscm=115961387624300w=2

Daniel







--
This e-mail and its contents are subject to AfriGIS PTY Limited
e-mail disclaimer at
http://www.afrigis.co.za/eMailDisclaimer
--



Re: Serial ATA raid

2006-09-30 Thread David Gwynne

On 29/09/2006, at 11:09 PM, Francois Slabbert wrote:


hi misc,

i'm looking to purchase a sata raid controller, and have  
shortlisted it down to two models for no particular reason other  
than the controllers being supported by openbsd, being  
'afordable',compatible with the equipment i already have and  
available in a third world country. the two options i have is the  
intel srcs16 and the lsi megaraid sata-6, is there a clear winner  
between the two with regards to using it on openbsd - the array  
will be used for the archiving 'valuable' data.


The intel board is basically a rebadged lsi board. make your choice  
based on warranty and price.




Re: Serial ATA raid

2006-09-30 Thread Daniel Ouellet

David Gwynne wrote:

On 29/09/2006, at 11:09 PM, Francois Slabbert wrote:


hi misc,

i'm looking to purchase a sata raid controller, and have shortlisted 
it down to two models for no particular reason other than the 
controllers being supported by openbsd, being 'afordable',compatible 
with the equipment i already have and available in a third world 
country. the two options i have is the intel srcs16 and the lsi 
megaraid sata-6, is there a clear winner between the two with regards 
to using it on openbsd - the array will be used for the archiving 
'valuable' data.


The intel board is basically a rebadged lsi board. make your choice 
based on warranty and price.




Nope, I would say make your choice based on witch company actually 
respect your as a customers and Intel is simply not it!


Didn't you see the tread on misc@ lately!

Why don't you make your choice known to Intel as well now is a good time 
as ever.


If you really care about your choice of OS here you say OpenBSD, then 
make your voice eared with your money!


If you don't make your voice count with your wallet, why should company 
listen then?


Sometime company understand that much better then anything else!

Current reference:

http://marc.theaimsgroup.com/?l=openbsd-miscm=115961387624300w=2

Daniel



Re: Serial ATA raid

2006-09-29 Thread Didier Wiroth
Hello,
I'm using the lsi controller and it works nice for me.
$ sudo bioctl -h ami0
Volume  Status   Size Device
 ami0 0 Online   699G sd0 RAID5
  0 Online   233G 0:0.0   noencl SAMSUNG SP2504C VT10
  1 Online   233G 0:1.0   noencl SAMSUNG SP2504C VT10
  2 Online   233G 0:2.0   noencl SAMSUNG SP2504C VT10
  3 Online   233G 0:3.0   noencl SAMSUNG SP2504C VT10

You may also have a look at areca devices which are now supported under Openbsd 
4:
http://www.areca.com.tw/products/html/pcie-sata.htm
see
http://www.openbsd.org/cgi-bin/man.cgi?query=arcsektion=4

Kind regards,
- -
Didier Wiroth  

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 On Behalf Of Francois Slabbert
 Sent: 29 September 2006 15:10
 To: misc@openbsd.org
 Subject: Serial ATA raid
 
 hi misc,
 
 i'm looking to purchase a sata raid controller, and have 
 shortlisted it down to two models for no particular reason 
 other than the controllers being supported by openbsd, being 
 'afordable',compatible with the equipment i already have and 
 available in a third world country. the two options i have is 
 the intel srcs16 and the lsi megaraid sata-6, is there a 
 clear winner between the two with regards to using it on 
 openbsd - the array will be used for the archiving 'valuable' data.
 
 thanks in advance
 
 
 --
 This e-mail and its contents are subject to AfriGIS PTY 
 Limited e-mail disclaimer at http://www.afrigis.co.za/eMailDisclaimer
 --



Re: Serial ATA raid

2006-09-29 Thread marrandy
On Friday 29 September 2006 09:09, Francois Slabbert wrote:
 hi misc,

 i'm looking to purchase a sata raid controller, and have shortlisted it
 down to two models for no particular reason other than the controllers
 being supported by openbsd, being 'afordable',compatible with the
 equipment i already have and available in a third world country. the two
 options i have is the intel srcs16 and the lsi megaraid sata-6, is there
 a clear winner between the two with regards to using it on openbsd - the
 array will be used for the archiving 'valuable' data.

 thanks in advance


On a similar thought, what are the recomended SAS (serial attached SCSI) 
cards/manufacturers for OpenBSD ?  Still LSI ?

Anyone want to share their experience with motherboards and systems with SAS ?

-- 
Regards...Martin



Re: Serial ATA raid

2006-09-29 Thread Joachim Schipper
On Fri, Sep 29, 2006 at 03:09:50PM +0200, Francois Slabbert wrote:
 hi misc,
 
 i'm looking to purchase a sata raid controller, and have shortlisted it 
 down to two models for no particular reason other than the controllers 
 being supported by openbsd, being 'afordable',compatible with the 
 equipment i already have and available in a third world country. the two 
 options i have is the intel srcs16 and the lsi megaraid sata-6, is there 
 a clear winner between the two with regards to using it on openbsd - the 
 array will be used for the archiving 'valuable' data.

I understand LSI comes highly recommended by people who should know.

Joachim



Re: Serial ATA raid

2006-09-29 Thread Berk D. Demir

Joachim Schipper wrote:



I understand LSI comes highly recommended by people who should know.



Intel SRCS16 and LSI MegaRAID SATA controllers both attached by ami(4) 
driver.


LSI is known to produce above the average equipment so they can be 
desired. OTOH, Intel is not just another company. Love them or hate them 
but they surely know how to do good things (but not necessarily always 
produce them)


LSI discloses hardware details to programmers AFAIK but Intel is simply 
not cooperative on this subject. Once upon a time they used to love BLOB 
for their popular wireless networking products.


marco@ ported mfi(4) from FreeBSD. Which is LSI's SAS controller.
I don't know if he had access to any developer's manual but his blog 
entry on undeadly tells us he liked the clean hardware design which 
offloads the dirty work to the firmware.

http://undeadly.org/cgi?action=articlesid=20060519224204

If LSI is cheaper, buy it.
If LSI is unsignificantly more expensive, buy it again.
If Intel is way cheaper, buy it then.

That's my 2 cents.