Re: LSI/AVGO/Broadcom 9280-16i4e support?

2019-09-03 Thread mike tancsa
On 9/3/2019 10:46 AM, Josh Paetzel wrote:
>> (however, not sure if mfip_load is really necessary :-).
>
>> The above works for me in a 11.2-RELEASE machine. However this is a 
>> playground machine, used mainly for smoke-testing disks, not for serious 
>> production tasks.
>
>
> Well, you are right about that.
>
> mfip gives you access to SMART. mrsas doesn't have an analogue to that.


mrsas seems to be better maintained than mfi and I have had cards that
didnt work on RELENG12 via the mfi driver but did via mrsas[1]. You dont
need mfip as drives show up as /dev/da* and smartctl works with the
corresponding /dev/pass# device files. You can also use storcli (also in
the ports) to put it in jbod mode if you dont like megacli

eg

storcli /c0 show all
storcli /c0 show help
storcli /c0 set jbod=on (enable jbod mode for drives)
storcli /c0/e252/s0 set jbod (sets a disk into jbod mode)

I am using the mrsas driver in jbod mode on the 9272 controller for ZFS
and its nice and zippy and (so far) quite reliable.

# storcli /c0 show all
Generating detailed summary of the adapter, it may take a while to complete.

CLI Version = 007.0709.. Aug 14, 2018
Operating system = FreeBSD 12.0-STABLE
Controller = 0
Status = Success
Description = None


Basics :
==
Controller = 0
Model = LSI MegaRAID SAS 9272-8i



PD LIST :
===


EID:Slt DID State DG Size Intf Med SED PI SeSz Model   
Sp Type

252:0    15 JBOD  -  7.276 TB SATA HDD N   N  512B WDC WD80EFAX-68KNBN0
U  -   
252:4    16 JBOD  -  7.276 TB SATA HDD N   N  512B WDC WD80EFAX-68KNBN0
U  -   
252:5    18 JBOD  -  7.276 TB SATA HDD N   N  512B WDC WD80EFAX-68KNBN0
U  -   
252:6    19 JBOD  -  7.276 TB SATA HDD N   N  512B WDC WD80EFAX-68KNBN0
U  -   
252:7    17 JBOD  -  7.276 TB SATA HDD N   N  512B WDC WD80EFAX-68KNBN0
U  -   


# camcontrol devlist
    at scbus1 target 15 lun 0 (pass0,da0)
    at scbus1 target 16 lun 0 (pass1,da1)
    at scbus1 target 17 lun 0 (pass2,da2)
    at scbus1 target 18 lun 0 (pass3,da3)
    at scbus1 target 19 lun 0 (pass4,da4)

# smartctl -a /dev/pass0 | head
smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-STABLE amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Red
Device Model: WDC WD80EFAX-68KNBN0
Serial Number:    VAHZRMSL
LU WWN Device Id: 5 000cca 099dc0f9d
Firmware Version: 81.00A81
User Capacity:    8,001,563,222,016 bytes [8.00 TB]

 

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231432

---Mike

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


Re: LSI/AVGO/Broadcom 9280-16i4e support?

2019-09-03 Thread Josh Paetzel



On Tue, Sep 3, 2019, at 8:13 AM, Ireneusz Pluta/wp.pl wrote:
> W dniu 2019-09-03 o 01:25, Josh Paetzel pisze:
>> The closest you can get to pass through is a bunch of single drive RAID 0 
>> disks with the caching disabled.

> The 9280-16i4e supports JBOD mode.


> Consider:


> MegaCli -AdpSetProp -EnableJBOD -val -aN|-a0,1,2|-aALL
>  val - 0=Disable JBOD mode.
>  1=Enable JBOD mode


> MegaCli -PDMakeJBOD -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL


> and:


> $ grep mfi /boot/loader.conf 
> mfip_load="YES"
> hw.mfi.allow_cam_disk_passthrough=1


> (however, not sure if mfip_load is really necessary :-).


> The above works for me in a 11.2-RELEASE machine. However this is a 
> playground machine, used mainly for smoke-testing disks, not for serious 
> production tasks.

> 


Well, you are right about that.

mfip gives you access to SMART. mrsas doesn't have an analogue to that.

--

Thanks,

Josh Paetzel

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


Re: LSI/AVGO/Broadcom 9280-16i4e support?

2019-09-03 Thread Ireneusz Pluta/wp.pl


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