Re: LSI SAS 3108 RAID Controller

2016-02-03 Thread Mike Tancsa
On 2/3/2016 9:20 AM, krad wrote:
> 
> If zfs you probably want the reflash the card the the relevant HBA firmware
> rather the the raid firmware. This will expose the disks nativly which is
> best for zfs.

The version of card I have allows you to expose the individual disks as
JBODs out of the box.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: LSI SAS 3108 RAID Controller

2016-02-03 Thread krad
Just a sanity check 1st.

Are you going to be using zfs or ufs?

If zfs you probably want the reflash the card the the relevant HBA firmware
rather the the raid firmware. This will expose the disks nativly which is
best for zfs.

Sorry if this isn't appropriate for you but I would thought I would check
as it might save you a whole load of pain going in a direction you don't
need to.

On 2 February 2016 at 17:06, Zara Kanaeva  wrote:

> Dear list,
>
> I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI SAS
> 3108 RAID Controller is supported by the mpr driver (
> https://www.freebsd.org/relnotes/CURRENT/hardware/support.html).
> If I try to install the FreeBSD-stable 10.0 or FreeBSD-current 11.0 on
> this server I can make partitions, but I can not write install files on the
> disks (better to say RAID5 virtual drive) without errors.
> The erorrs are:
> mfi0 failed to get command
> mfi0: COMMAND ... TIMEOUT AFTER  ... SECONDS
>
> By the installations I see my virtual drive as device with mfi0 as
> identifier.
>
> My questions are:
> 1) Why I see the virtual drive as device with mfi0 as identifier. I would
> expect that my virtual drive has identifier mpr0 or something like this.
> 2) Why I can install FreeBSD on one of the disks connected to LSI SAS 3108
> RAID Controller, if the disks do not build any virtual drive (no matter
> which RAID level). Is that possible because mpr driver supports the LSI SAS
> 3108 RAID Controller as SCSI Controller and not as RAID Controller (see
> Kernel configuration)?
>
> Thanks in advance, Z. Kanaeva.
>
> --
> Dipl.-Inf. Zara Kanaeva
> Heidelberger Akademie der Wissenschaften
> Forschungsstelle "The role of culture in early expansions of humans"
> an der Universität Tübingen
> Geographisches Institut
> Universität Tübingen
> Ruemelinstr. 19-23
> 72070 Tuebingen
>
> Tel.: +49-(0)7071-2972132
> e-mail: zara.kana...@geographie.uni-tuebingen.de
> ---
> - Theory is when you know something but it doesn't work.
> - Practice is when something works but you don't know why.
> - Usually we combine theory and practice:
> Nothing works and we don't know why.
>
> ___
> freebsd-sta...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: LSI SAS 3108 RAID Controller

2016-02-02 Thread Mike Tancsa
On 2/2/2016 12:06 PM, Zara Kanaeva wrote:
> Dear list,
> 
> I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI
> SAS 3108 RAID Controller is supported by the mpr driver

Try and attach the mrsas driver to the card. I had a similar problem
with an onboard variant.  Either compile the kernel without the mfi
driver, or force the kernel to assign the mrsas driver to it instead of
the mfi driver.
hw.mfi.mrsas_enable=1
in /boot/loader.conf

# pciconf -lv mrsas0
mrsas0@pci0:1:0:0:  class=0x010400 card=0x080915d9 chip=0x005d1000
rev=0x02 hdr=0x00
vendor = 'LSI Logic / Symbios Logic'
device = 'MegaRAID SAS-3 3108 [Invader]'
class  = mass storage
subclass   = RAID


---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: LSI SAS 3108 RAID Controller

2016-02-02 Thread Pete Wright


On 02/02/16 09:06, Zara Kanaeva wrote:
> Dear list,
> 
> I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI
> SAS 3108 RAID Controller is supported by the mpr driver
> (https://www.freebsd.org/relnotes/CURRENT/hardware/support.html).
> If I try to install the FreeBSD-stable 10.0 or FreeBSD-current 11.0 on
> this server I can make partitions, but I can not write install files on
> the disks (better to say RAID5 virtual drive) without errors.
> The erorrs are:
> mfi0 failed to get command
> mfi0: COMMAND ... TIMEOUT AFTER  ... SECONDS
> 
> By the installations I see my virtual drive as device with mfi0 as
> identifier.
> 
> My questions are:
> 1) Why I see the virtual drive as device with mfi0 as identifier. I
> would expect that my virtual drive has identifier mpr0 or something like
> this.
> 2) Why I can install FreeBSD on one of the disks connected to LSI SAS
> 3108 RAID Controller, if the disks do not build any virtual drive (no
> matter which RAID level). Is that possible because mpr driver supports
> the LSI SAS 3108 RAID Controller as SCSI Controller and not as RAID
> Controller (see Kernel configuration)?
> 

it may be helpful to investigate your system using mfiutil(8).  It's
possible you have flaky hardware as I have used that card before with
out issues IIRC.

Hope this helps,
-pete

-- 
Pete Wright
p...@nomadlogic.org
twitter => @nomadlogicLA

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