RAID support

2010-10-06 Thread Jean-Francois
Hello,

Is soft RAID currently a work in progress, I remember some important features
were still added release after release recently. Will it be the case for
forthcoming 4.8 ?

Regards

Jean-Frangois



Re: RAID support

2010-10-07 Thread g . duale
> Hello,
>
> Is soft RAID currently a work in progress, I remember some important
> features
> were still added release after release recently. Will it be the case for
> forthcoming 4.8 ?
>
> Regards
>
> Jean-Frangois
>
>
Hi,
is already working I guess :
http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4
http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl&sektion=8



Re: RAID support

2010-10-07 Thread Jean-Francois
Le Thursday 07 October 2010 13:22:01, g.du...@otasc.org a icrit :
> > Hello,
> >
> > Is soft RAID currently a work in progress, I remember some important
> > features
> > were still added release after release recently. Will it be the case for
> > forthcoming 4.8 ?
> >
> > Regards
> >
> > Jean-Frangois
>
> Hi,
> is already working I guess :
> http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4
> http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl&sektion=8

Why raidctl and bioctl ? What differences, why both are here ?

Regards



Re: RAID support

2010-10-07 Thread Henning Brauer
* Jean-Francois  [2010-10-07 19:44]:
> Why raidctl and bioctl ? What differences, why both are here ?

raidframe and thus raidctl will eventually go. softraid is the future.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Re: RAID support

2010-10-07 Thread Jean-Francois
Hi,

Doing tests, I could not always do properly the kick off of a rebuild.
What is exactly the procedure for doing a rebuild with bioctl -R ?

In particular I don't understand, when you have say a build with chunks sd0a 
and sd1a, then remove one chunk, plug a new one, if it doe'nt appear as sd1 
but sd2 or whatever, then how do you attach it to the raid device - which is 
waiting for a sd1a (the offline device) ?

Regards



Re: RAID support

2010-10-09 Thread Jean-François SIMON
Hi,

Can we add, remove or change the chunks hard drives, rebuild, without
re-constructing the RAID ?

Regards

2010/10/7 Jean-Francois 

> Hi,
>
> Doing tests, I could not always do properly the kick off of a rebuild.
> What is exactly the procedure for doing a rebuild with bioctl -R ?
>
> In particular I don't understand, when you have say a build with chunks
> sd0a
> and sd1a, then remove one chunk, plug a new one, if it doe'nt appear as sd1
> but sd2 or whatever, then how do you attach it to the raid device - which
> is
> waiting for a sd1a (the offline device) ?
>
> Regards



Intel ICH8DO Raid support

2007-01-07 Thread Tom Spencer
I've been looking at buying the Intel DQ965GFEKR motherboard, but I need the
onboard RAID (I can't afford to buy a separate raid controller for this
setup).  From what I can tell it uses the ICH8DO chipset, which doesn't
appear to be supported in OBSD currently.  Am I mistaken, does it work now?

Or, if I am correct, is there any expectation that it will be supported any
time soon?

Thanks,
Tom



3ware hardware raid support?

2008-09-11 Thread Harald Dunkel

Hi folks,

Are the more recent 3ware raid controllers supported, e.g.
the 3Ware 9650SE series? Its not mentioned on the compatibility
list or in the current man page, but maybe (hopefully) it is out
of date?


Regards

Harri



Re: Intel ICH8DO Raid support

2007-01-07 Thread Jonathan Gray
On Sun, Jan 07, 2007 at 03:05:47PM -0800, Tom Spencer wrote:
> I've been looking at buying the Intel DQ965GFEKR motherboard, but I need the
> onboard RAID (I can't afford to buy a separate raid controller for this
> setup).  From what I can tell it uses the ICH8DO chipset, which doesn't
> appear to be supported in OBSD currently.  Am I mistaken, does it work now?
> 
> Or, if I am correct, is there any expectation that it will be supported any
> time soon?
> 
> Thanks,
> Tom

It doesn't actually have a real hardware RAID controller.
What is there should work in the disks will show up normally
and be usable sense though.



Re: Intel ICH8DO Raid support

2007-01-08 Thread Tom Spencer
Jonathan,

Thanks for the reply, but I'm not exactly sure I understand.  When you say
"the disks will show up" - does that mean the individual disks, or the raid
volume set?

I'm also not sure I understand what you mean by it not being a real hardware
RAID controller.  Is it like a WinModem, where the driver is doing all the work?

Thanks again,
Tom

Jonathan Gray wrote:
> On Sun, Jan 07, 2007 at 03:05:47PM -0800, Tom Spencer wrote:
>> I've been looking at buying the Intel DQ965GFEKR motherboard, but I need the
>> onboard RAID (I can't afford to buy a separate raid controller for this
>> setup).  From what I can tell it uses the ICH8DO chipset, which doesn't
>> appear to be supported in OBSD currently.  Am I mistaken, does it work now?
>>
>> Or, if I am correct, is there any expectation that it will be supported any
>> time soon?
>>
>> Thanks,
>> Tom
> 
> It doesn't actually have a real hardware RAID controller.
> What is there should work in the disks will show up normally
> and be usable sense though.



Re: Intel ICH8DO Raid support

2007-01-08 Thread RedShift

Tom Spencer wrote:

Jonathan,

Thanks for the reply, but I'm not exactly sure I understand.  When you say
"the disks will show up" - does that mean the individual disks, or the raid
volume set?


It means the individual disks will show up in /dev



I'm also not sure I understand what you mean by it not being a real hardware
RAID controller.  Is it like a WinModem, where the driver is doing all the work?


Yes



Thanks again,
Tom

Jonathan Gray wrote:

On Sun, Jan 07, 2007 at 03:05:47PM -0800, Tom Spencer wrote:

I've been looking at buying the Intel DQ965GFEKR motherboard, but I need the
onboard RAID (I can't afford to buy a separate raid controller for this
setup).  From what I can tell it uses the ICH8DO chipset, which doesn't
appear to be supported in OBSD currently.  Am I mistaken, does it work now?

Or, if I am correct, is there any expectation that it will be supported any
time soon?

Thanks,
Tom

It doesn't actually have a real hardware RAID controller.
What is there should work in the disks will show up normally
and be usable sense though.




Re: 3ware hardware raid support?

2008-09-15 Thread Ryan Corder
On Mon, Sep 15, 2008 at 03:12:29PM +0200, Harald Dunkel wrote:
> AFAICS the arc-1210 comes with a fan. Is there an integration
> with sensorsd?

Not as of 4.3.  The only thing I get related to my ARC-1210 out of
sensors is:

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

I would also like to help with getting some more information out of
bio(4) and bioctl(8):

(31)[EMAIL PROTECTED] ~ $ sudo bioctl -qv sd0
sd0: , serial 08166335
(32)[EMAIL PROTECTED] ~ $ sudo bioctl -a get sd0
bioctl: BIOCALARM: Inappropriate ioctl for device

Not sure where to start with this one.



Re: 3ware hardware raid support?

2008-09-15 Thread Henning Brauer
* Ryan Corder <[EMAIL PROTECTED]> [2008-09-15 21:31]:
> On Mon, Sep 15, 2008 at 03:12:29PM +0200, Harald Dunkel wrote:
> > AFAICS the arc-1210 comes with a fan. Is there an integration
> > with sensorsd?
> 
> Not as of 4.3.  The only thing I get related to my ARC-1210 out of
> sensors is:
> 
> hw.sensors.arc0.drive0=online (sd0), OK
> 
> I would also like to help with getting some more information out of
> bio(4) and bioctl(8):
> 
> (31)[EMAIL PROTECTED] ~ $ sudo bioctl -qv sd0
> sd0: , serial 08166335
> (32)[EMAIL PROTECTED] ~ $ sudo bioctl -a get sd0
> bioctl: BIOCALARM: Inappropriate ioctl for device
> 
> Not sure where to start with this one.

maybe by reading the bioctl manpage? your bioctl usage is completely
off. way off.
(ok, I give you a treaty: bioctl arc0)


-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: 3ware hardware raid support?

2008-09-15 Thread Ryan Corder
On Mon, Sep 15, 2008 at 09:41:42PM +0200, Henning Brauer wrote:
| maybe by reading the bioctl manpage? your bioctl usage is completely
| off. way off.
| (ok, I give you a treaty: bioctl arc0)

Fair enough, being a bad user is no excuse.  This got my alarm reporting, but
what is with the error?

(19)[EMAIL PROTECTED] ~ $ sudo bioctl -a get arc0
alarm is currently enabled
(20)[EMAIL PROTECTED] ~ $ sudo bioctl -v arc0
Volume  Status   Size Device  
 arc0 0 Online   24917056 sd0 RAID1
bioctl: BIOCDISK: Input/output error
(21)[EMAIL PROTECTED] ~ $

Same behavior if I run it as root directly rather than via sudo.

thanks.
ryanc



Re: 3ware hardware raid support?

2008-09-15 Thread Jonathan Gray
On Mon, Sep 15, 2008 at 02:05:48PM -0700, Ryan Corder wrote:
> On Mon, Sep 15, 2008 at 09:41:42PM +0200, Henning Brauer wrote:
> | maybe by reading the bioctl manpage? your bioctl usage is completely
> | off. way off.
> | (ok, I give you a treaty: bioctl arc0)
> 
> Fair enough, being a bad user is no excuse.  This got my alarm reporting, but
> what is with the error?
> 
> (19)[EMAIL PROTECTED] ~ $ sudo bioctl -a get arc0
> alarm is currently enabled
> (20)[EMAIL PROTECTED] ~ $ sudo bioctl -v arc0
> Volume  Status   Size Device  
>  arc0 0 Online   24917056 sd0 RAID1
> bioctl: BIOCDISK: Input/output error
> (21)[EMAIL PROTECTED] ~ $
> 
> Same behavior if I run it as root directly rather than via sudo.
> 
> thanks.
> ryanc

This sounds like the new firmware, but I can't see a dmesg
from you to figure out if this is the case for sure.

The newer firmwares behave slightly differently, but should
report things in bioctl properly with 4.4 and -current.



Re: 3ware hardware raid support?

2008-09-17 Thread Ryan Corder
On Tue, Sep 16, 2008 at 09:10:48AM +1000, Jonathan Gray wrote:
| This sounds like the new firmware, but I can't see a dmesg
| from you to figure out if this is the case for sure.

arc0 at pci2 dev 14 function 0 "Areca ARC-1210" rev 0x00: apic 2 int 18 (irq 5)
arc0: 4 ports, 256MB SDRAM, firmware V1.44 2008-2-1
scsibus0 at arc0: 16 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3 0/direct 
fixed
sd0: 238418MB, 50862 cyl, 20 head, 480 sec, 512 bytes/sec, 488281088 sec total

| The newer firmwares behave slightly differently, but should
| report things in bioctl properly with 4.4 and -current.

That's what I figured.

thanks.
ryanc



Sun X2100 on board RAID support?

2006-08-25 Thread stan
I've got a bunch of Sun 2100 machines. Nice machine that i plan on doing a
number of things with. I'd prefer to use OpenBSD on them for firewalls, and
other network related tasks.

I've got 2 x 250G drives in these machines, and want to mirror them. Under
FreeBSD the built in RAID controller (OK semi-software RAID) works, but
apparently it does not under OpenBSD. Is this correct? or am I missing
something?

If it's not supported, are there plans to add support for it?

BTW, It's the 3.9 64 bit install set I'm trying to install. If I turn off
RAID in the firmware, everything works fine. If I enable it the disks are
not detected at all.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Areca HW-Raid Support ARC-1224

2013-11-06 Thread Jan Lambertz
Hi,

i'm currently looking for a openbsd compatible hw-raid solution. i ended up
with areca. openbsd lists a number of supported devices. sadly nothing that
can be found on the areca website. relevant openbsd supported products seem
to be eol.
the ARC-1224-8I ist quite intresting for my purpose, but not listed as
supported by openbsd, but on the areca website there is sourcecode for a
driver...
http://www.areca.com.tw/support/s_openbsd/openbsd.htm
Anyone tried that yet ?
have things changed with license or something ? why do i need this external
driver ?
any other good (and supported) hw-raid pcie card out there ?



Areca HW-Raid Support ARC-1224

2013-11-11 Thread Jan Lambertz
Great to see that support for newer cards is on its way.



Re: Sun X2100 on board RAID support?

2006-08-25 Thread Matt Kolb
stan writes: 


I've got a bunch of Sun 2100 machines. Nice machine that i plan on doing a
number of things with. I'd prefer to use OpenBSD on them for firewalls, and
other network related tasks. 


I've got 2 x 250G drives in these machines, and want to mirror them. Under
FreeBSD the built in RAID controller (OK semi-software RAID) works, but
apparently it does not under OpenBSD. Is this correct? or am I missing
something? 

If it's not supported, are there plans to add support for it? 


BTW, It's the 3.9 64 bit install set I'm trying to install. If I turn off
RAID in the firmware, everything works fine. If I enable it the disks are
not detected at all.


As an aside to this, I would like to know if there are plans to support the 
x4[12]00 SAS controller -- this does work in FreeBSD -current. 

./matt 



Re: Sun X2100 on board RAID support?

2006-08-25 Thread Nick Shank

Matt Kolb wrote:

stan writes:
I've got a bunch of Sun 2100 machines. Nice machine that i plan on 
doing a
number of things with. I'd prefer to use OpenBSD on them for 
firewalls, and

other network related tasks.
I've got 2 x 250G drives in these machines, and want to mirror them. 
Under

FreeBSD the built in RAID controller (OK semi-software RAID) works, but
apparently it does not under OpenBSD. Is this correct? or am I missing
something?
If it's not supported, are there plans to add support for it?
BTW, It's the 3.9 64 bit install set I'm trying to install. If I turn 
off
RAID in the firmware, everything works fine. If I enable it the disks 
are

not detected at all.


As an aside to this, I would like to know if there are plans to 
support the x4[12]00 SAS controller -- this does work in FreeBSD 
-current.

./matt


Using -current as of about a week after the last hack-a-thon, the x4?00 
SAS worked. From a dmesg I posted on 6/6/06, here is the relevant part:


| mpi0 at pci2 dev 3 function 0 "Symbios Logic SAS1064" rev 0x02: apic 6 int
| 0 (irq 11)
| scsibus0 at mpi0: 63 targets
| sd0 at scsibus0 targ 2 lun 0:  SCSI2
| 0/direct fixed
| sd0: 69618MB, 69618 cyl, 16 head, 128 sec, 512 bytes/sec, 142577664 sec
total

It worked using both bsd and bsd.mp. But that was using the AMD64 port. As 
always, YMMV.
Nick



Re: Sun X2100 on board RAID support?

2006-08-25 Thread Matt Kolb

Nick Shank writes:

Matt Kolb wrote:
As an aside to this, I would like to know if there are plans to support 
the x4[12]00 SAS controller -- this does work in FreeBSD -current.


Using -current as of about a week after the last hack-a-thon, the x4?00 
SAS worked. From a dmesg I posted on 6/6/06, here is the relevant part: 

| mpi0 at pci2 dev 3 function 0 "Symbios Logic SAS1064" rev 0x02: apic 6 
int

| 0 (irq 11)
| scsibus0 at mpi0: 63 targets
| sd0 at scsibus0 targ 2 lun 0:  SCSI2
| 0/direct fixed
| sd0: 69618MB, 69618 cyl, 16 head, 128 sec, 512 bytes/sec, 142577664 sec
total 

It worked using both bsd and bsd.mp. But that was using the AMD64 port. As 
always, YMMV.


Thanks a lot Nick.  I guess the next logical question is into which stable 
release it will be available in. 

Thanks again! 


./matt



Re: Sun X2100 on board RAID support?

2006-08-25 Thread Joachim Schipper
On Fri, Aug 25, 2006 at 03:32:12PM -0400, Matt Kolb wrote:
> Nick Shank writes:
> >Matt Kolb wrote:
> >>As an aside to this, I would like to know if there are plans to support 
> >>the x4[12]00 SAS controller -- this does work in FreeBSD -current.
> >
> >Using -current as of about a week after the last hack-a-thon, the x4?00 
> >SAS worked. From a dmesg I posted on 6/6/06, here is the relevant part: 
> >
> >| mpi0 at pci2 dev 3 function 0 "Symbios Logic SAS1064" rev 0x02: apic 6 
> >int
> >| 0 (irq 11)
> >| scsibus0 at mpi0: 63 targets
> >| sd0 at scsibus0 targ 2 lun 0:  SCSI2
> >| 0/direct fixed
> >| sd0: 69618MB, 69618 cyl, 16 head, 128 sec, 512 bytes/sec, 142577664 sec
> >total 
> >
> >It worked using both bsd and bsd.mp. But that was using the AMD64 port. As 
> >always, YMMV.
> 
> Thanks a lot Nick.  I guess the next logical question is into which stable 
> release it will be available in. 

4.0, obviously.

Joachim



Re: Sun X2100 on board RAID support?

2006-08-26 Thread David Gwynne

On 26/08/2006, at 5:05 AM, Matt Kolb wrote:


stan writes:
I've got a bunch of Sun 2100 machines. Nice machine that i plan on  
doing a
number of things with. I'd prefer to use OpenBSD on them for  
firewalls, and
other network related tasks. I've got 2 x 250G drives in these  
machines, and want to mirror them. Under
FreeBSD the built in RAID controller (OK semi-software RAID)  
works, but
apparently it does not under OpenBSD. Is this correct? or am I  
missing
something? If it's not supported, are there plans to add support  
for it? BTW, It's the 3.9 64 bit install set I'm trying to  
install. If I turn off
RAID in the firmware, everything works fine. If I enable it the  
disks are

not detected at all.


As an aside to this, I would like to know if there are plans to  
support the x4[12]00 SAS controller -- this does work in FreeBSD - 
current.


are you serious?



Re: Areca HW-Raid Support ARC-1224

2013-11-07 Thread Chris Cappuccio
Jan Lambertz [jd.arb...@googlemail.com] wrote:
> the ARC-1224-8I ist quite intresting for my purpose, but not listed as
> supported by openbsd, but on the areca website there is sourcecode for a
> driver...
> http://www.areca.com.tw/support/s_openbsd/openbsd.htm
> Anyone tried that yet ?

Newer Areca cards are not supported by the OpenBSD Areca driver, unfortunately

> have things changed with license or something ? why do i need this external
> driver ?
> any other good (and supported) hw-raid pcie card out there ?

LSI cards are typically supported under one of several drivers, I'd
start with one of those.

The simple cards are supported under mpi and mpii, the RAID5/6
cards are supported under mfi and mfii.



Re: Areca HW-Raid Support ARC-1224

2013-11-07 Thread Chris Cappuccio
Jan Lambertz [jd.arb...@googlemail.com] wrote:
> http://www.areca.com.tw/support/s_openbsd/openbsd.htm
> Anyone tried that yet ?

If someone can get Areca to agree to the BSD license terms, the
newer card support can probably be included in the OpenBSD tree.
That'd be nice. Maybe you could contact them?



Re: Areca HW-Raid Support ARC-1224

2013-11-08 Thread Stuart Henderson
On 2013-11-08, Chris Cappuccio  wrote:
> Jan Lambertz [jd.arb...@googlemail.com] wrote:
>> http://www.areca.com.tw/support/s_openbsd/openbsd.htm
>> Anyone tried that yet ?
>
> If someone can get Areca to agree to the BSD license terms, the
> newer card support can probably be included in the OpenBSD tree.
> That'd be nice. Maybe you could contact them?
>
>

License looks ok, their driver is a modified version of ours with
the copyright notice intact.

http://www.areca.us/support/s_openbsd/driver/openbsd_V1.20.0.0_121115.zip

Cleaning up the gratuitous whitespace changes, switching the c++
style // comments to c-style, and adding the ca_activate change from
dev/pci/arc.c r1.96 would be a good start at getting a diff that is
reviewable..



Re: Areca HW-Raid Support ARC-1224

2013-11-08 Thread Chris Cappuccio
Stuart Henderson [s...@spacehopper.org] wrote:
> On 2013-11-08, Chris Cappuccio  wrote:
> > Jan Lambertz [jd.arb...@googlemail.com] wrote:
> >> http://www.areca.com.tw/support/s_openbsd/openbsd.htm
> >> Anyone tried that yet ?
> >
> > If someone can get Areca to agree to the BSD license terms, the
> > newer card support can probably be included in the OpenBSD tree.
> > That'd be nice. Maybe you could contact them?
> >
> >
> 
> License looks ok, their driver is a modified version of ours with
> the copyright notice intact.
> 
> http://www.areca.us/support/s_openbsd/driver/openbsd_V1.20.0.0_121115.zip
> 

To get to the download, you have to agree to some bullshit.

So I asked them and they are more than happy to have it included in
the tree (of course!)

Date: Fri, 8 Nov 2013 16:12:00 +0800
From: billion 
To: ch...@nmedia.net
Cc: "(?s?w) ???M??" 
Subject: Re: OpenBSD support

Hi Chris,

I  try to contact David Gwynne who had ported our driver on the OpenBSD.
There is no answer from him.
Yes, we are happy to release our modifications to the driver
under the original license terms so that it may be included in
future OpenBSD distributions if you can do this help for us.
I also put our engineer C.L. Huang in this loop in case he needs to do 
something.


Regards
Billion Wu


  -- Forwarded message --
  From: Chris Cappuccio 
  Date: Thu, Nov 7, 2013 at 6:32 PM
  Subject: OpenBSD support
  To: supp...@areca.com.tw, benjamin.ji...@areca.com.tw


  Hi
  I noticed you had newer OpenBSD support in your driver at:

  http://www.areca.com.tw/support/s_openbsd/openbsd.htm

  Would you be willing to release your modifications to the driver
  under the original license terms so that it may be included in
  future OpenBSD distributions?

  Chris


> Cleaning up the gratuitous whitespace changes, switching the c++
> style // comments to c-style, and adding the ca_activate change from
> dev/pci/arc.c r1.96 would be a good start at getting a diff that is
> reviewable..

I tried merging in the 1.95->1.96 change and it's not a simple merge.
This area was modified by Areca in interesting ways. I'm looking at it.

Chris



Re: Areca HW-Raid Support ARC-1224

2014-01-24 Thread Chris Cappuccio
Jan Lambertz [jd.arb...@googlemail.com] wrote:
> Hi,
> 
> i'm currently looking for a openbsd compatible hw-raid solution. i ended up
> with areca. openbsd lists a number of supported devices. sadly nothing that
> can be found on the areca website. relevant openbsd supported products seem
> to be eol.
> the ARC-1224-8I ist quite intresting for my purpose, but not listed as
> supported by openbsd, but on the areca website there is sourcecode for a
> driver...
> http://www.areca.com.tw/support/s_openbsd/openbsd.htm
> Anyone tried that yet ?
> have things changed with license or something ? why do i need this external
> driver ?
> any other good (and supported) hw-raid pcie card out there ?

This Areca driver is now part of the -current (5.5-beta) tree.