Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:00 PM, Bosko Radivojevic wrote:

Hi,

i just forgot to add following output from FreeBSD 8.3:

# atacontrol status ar0
ar0: ATA RAID1 status: READY
  subdisks:
0 ad4  ONLINE
1 ad6  ONLINE

Thanks,
Bosko


Hi Bosko,

For FreeBSD 9.0-RELEASE see the release notes
http://www.freebsd.org/releases/9.0R/relnotes.html


especially
Thegraid(8) 
http://www.freebsd.org/cgi/man.cgi?query=graidsektion=8manpath=FreeBSD+9.0-RELEASEGEOM 
class has been added. This is a replacement of theataraid(4) 
http://www.freebsd.org/cgi/man.cgi?query=ataraidsektion=4manpath=FreeBSD+9.0-RELEASEdriver 
supporting various BIOS-based software RAID.[r219974 
http://svn.freebsd.org/viewvc/base?view=revisionrevision=219974]



Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar


# gmirror list
gmirror: Command 'list' not available.
# gmirror status
gmirror: Command 'status' not available.


gmirror load


It is probably soft-RAID, but I prefer to use it though appropriate
driver instead of classical software RAID configured through OS.


i would recommend otherwise.

Actually it is already strange FreeBSD have drivers to nonexistent 
hardware, duplicating mostly gmirrorgstripe  functionality flaky way.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:11 PM, Wojciech Puchar wrote:
It is always better to use gmirror instead of hardware RAID. One have 
full control over what is going on


mmh not always. Nothing replaces a good hardware RAID card with a BBU


for real reason i used parantheses for word hardware. 


That's clear to me.
These hardware raid controllers are not very reliable because they are 
indeed not real hardware raid controllers, but software based.

Maybe for desktop usage it's ok/ good enough?
It is better to use the operating systems raid capability linke gmirror instead.

Of course real hardware raid controllers with cache and battery backed are a 
different thing and very reliable.



Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bosko Radivojevic
Hi Bas,

thank you for response. 'geom disk list' gives me list of disks, but
'geom raid load;geom raid list' doesn't give anything. I've tried
'geom load mirror', but 'geom mirror list' is also empty.

What next? :)

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar


That's clear to me.
These hardware raid controllers are not very reliable because they are 
indeed not real hardware raid controllers, but software based.

Maybe for desktop usage it's ok/ good enough?


precise what is desktop usage is.
i don't see a reason for doing mirroring for home use.

It is better to use the operating systems raid capability linke gmirror 
instead.



always.

Of course real hardware raid controllers with cache and battery backed are a 
different thing and very reliable.


if you have workload where battery backed cache will actually improve 
things (heavy fsync usage) then yes. otherwise no.


i've seen many of them, older, newer, and with same disks i always got at 
least same performance with FreeBSD software solution.


Not talking about RAID5 of which i am not interested at all - there is no 
reason trading performance for available space nowadays with 2-3TB disks.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar

'geom raid load;geom raid list' doesn't give anything. I've tried
'geom load mirror', but 'geom mirror list' is also empty.

what other do you expect with no mirrors created yet?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:20 PM, Bosko Radivojevic wrote:

Hi Bas,

thank you for response. 'geom disk list' gives me list of disks, but
'geom raid load;geom raid list' doesn't give anything. I've tried
'geom load mirror', but 'geom mirror list' is also empty.

What next? :)

Thanks!

Hi Bosko,

I do not have any experience with these kind of controllers, so I could just 
guess.
What does pciconf -lv produce, looking at the lines for you disk/softraid 
controller?

Look for the device with class = mass storage

Maybe it's not fully supported by graid, which would surprise me because 
graid this is a replacement for ataraid.



Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bosko Radivojevic
On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:

 what other do you expect with no mirrors created yet?

But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm
trying to replicate behaviour from FreeBSD 8.3 (array created through
RAID BIOS, seen as a device in OS).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bosko Radivojevic
I proceeded with: graid label Intel raid RAID1 ada0 ada1. Hope this
works what I want :)

On Tue, Jul 10, 2012 at 12:31 PM, Bosko Radivojevic
bosko.radivoje...@gmail.com wrote:
 On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl wrote:

 what other do you expect with no mirrors created yet?

 But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm
 trying to replicate behaviour from FreeBSD 8.3 (array created through
 RAID BIOS, seen as a device in OS).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:26 PM, Wojciech Puchar wrote:


That's clear to me.
These hardware raid controllers are not very reliable because they are 
indeed not real hardware raid controllers, but software based.

Maybe for desktop usage it's ok/ good enough?


precise what is desktop usage is.


Here at work we just use non raided disks for workstations which run linux.
The home directories are on nfs, so when a disk fails it's replaced very 
fast by doing a basic install on a new disk or just replacing the disk by a 
preinstalled disk laying on the shelf here.



i don't see a reason for doing mirroring for home use.


Me neither, just keep back-ups of important data on a different place/device



It is better to use the operating systems raid capability linke gmirror 
instead.



always.

Of course real hardware raid controllers with cache and battery backed 
are a different thing and very reliable.


if you have workload where battery backed cache will actually improve 
things (heavy fsync usage) then yes. otherwise no.


i've seen many of them, older, newer, and with same disks i always got at 
least same performance with FreeBSD software solution.


Not talking about RAID5 of which i am not interested at all - there is no 
reason trading performance for available space nowadays with 2-3TB disks.


I have never tries the FreeBSD raid solution as we always have servers with 
from past to now acc, amr and mfi controllers with raid1 and raid5 in the 
past mostly used for databases and perl cgi based web applications.




Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar



On Tue, 10 Jul 2012, Bosko Radivojevic wrote:


On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:


what other do you expect with no mirrors created yet?


But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm


if it is RAID10 i assume you have 4 disks.


trying to replicate behaviour from FreeBSD 8.3 (array created through
RAID BIOS, seen as a device in OS).


BIOS raid is not compatible with gmirror RAID.


backup and restore.

Actually i would recommend creating it as two RAID1 (gmirror) devices and 
spreading data. it is safer and..if you can spread data well... faster.


BIOS RAID usually use far too small block sizes, to be better on 
windows benchmarks that shows linear read speed.


except specialized uses it is no improvement under unix.

What you need is to spread DIFFERENT I/O operations from different task to 
different heads.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar

Hi Bosko,

I do not have any experience with these kind of controllers, so I could just 
guess.


I have a lot ;) but the only thing i always do is to disable RAID in 
BIOS just after receiving new machine. whole experience.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-09 Thread Bosko Radivojevic
Hi all!

I have a problem installing FreeBSD 9.0 on Fujitsu Primergy RX200 S5
server with LSI MegaRAID SATA controller (two SATA HDDs in RAID1
array). When booted from a CD, FreeBSD doesn't recognize RAID Array,
it recognizes HDDs only (ad4  ad6). On the same server, FreeBSD 8.3
installation recognizes RAID Array (ar0).

pciconf -vl on FreeBSD 9.0:
ahci0@pci0:0:31:2: class=0x010400 card=0x11501734 chip=0x3a258086
rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = '82801JIR (ICH10R) SATA RAID Controller'
class  = mass storage
subclass = RAID

pciconf -vl on FreeBSD 8.3:
atapci0@pci0:0:31:2:class=0x010400 card=0x11501734 chip=0x3a258086
rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'SATA RAID Controller'
class  = mass storage
subclass   = RAID

dmesg output on FreeBSD 8.3:
# dmesg|grep ar0
ar0: writing of DDF metadata is NOT supported yet
ar0: 952720MB DDF RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

As far as I understand (while I don't have that much FreeBSD
experience), amr is the appropriate driver for this controller. Tried
to load it manually (kldload /boot/kernel/amr.ko) but it seems the
driver is already present in kernel.

What am I missing here?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org