Switching from MFI to MRSAS

Marco.re laza.ita at gmail.com
Mon Sep 28 14:00:21 UTC 2015


On 09/23/2015 01:26, Tim Gustafson wrote:
> mfi0: <Fury> port 0x2000-0x20ff mem
> 0x92000000-0x9200ffff,0x91f00000-0x91ffffff irq 26 at device 0.0 on
> pci2
> mfi0: Using MSI
> mfi0: Megaraid SAS driver Ver 4.23
> mfi0: FW MaxCmds = 240, limiting to 128
> mfi0: MaxCmd = 240, Drv MaxCmd = 128, MaxSgl = 70, state = 0xb73c00f0
> 
> I see that there's a tunable for /boot/device.hints that I can set to
> prefer mrsas over mfi:
> 
> hw.mfi.mrsas_enable="1"
> 
> and then add this to /boot/loader.conf:
> 
> mrsas_load="yes"
> 
> So, my question is: if I add those options and then reboot, will my
> drives magically re-appear as /dev/da* devices?  Will the data on them
> still be accessible as-is, or would I need to re-install the OS to get
> this to go?  Would switching to this other driver enable the TRIM
> command, as the devices will now be /dev/da* rather than
> /dev/mfisyspd*?  Or am I just being naive here?  :)

I'm not sure, I've installed one Dell R730 with a new controller H730/P,
I'm not sure if the mfi driver was seeing the raid, I don't remember :-(
if you have this controller
# pciconf -lv
mrsas0 at pci0:2:0:0: class=0x010400 card=0x1f491028 chip=0x005d1000
rev=0x02 hdr=0x00
vendor     = 'LSI Logic / Symbios Logic'
device     = 'MegaRAID SAS-3 3108 [Invader]'
class      = mass storage
subclass   = RAID

it works with the mrsas driver.

# cat /boot/loader.conf
hw.mfi.mrsas_enable=1
mrsas_load="yes"



# dmesg | grep -i mrsas
module_register: module pci/mrsas already exists!
Module pci/mrsas failed to register: 17
LSI MegaRAID SAS FreeBSD mrsas driver version: 06.704.01.01-fbsd
mrsas0: <LSI Invader SAS Controller> port 0x2000-0x20ff mem
0x92000000-0x9200ffff,0x91f00000-0x91ffffff irq 26 at device 0.0 on pci2
mrsas0: FW supports: UnevenSpanSupport=1
mrsas0: Internal command timed out after 180 seconds.
da0 at mrsas0 bus 0 scbus0 target 0 lun 0


Cioa Marco



More information about the freebsd-fs mailing list