Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 16:00:17 +0200
From:      "Marco.re" <laza.ita@gmail.com>
To:        Tim Gustafson <tjg@ucsc.edu>, freebsd-fs@freebsd.org
Subject:   Re: Switching from MFI to MRSAS
Message-ID:  <560947F1.2040607@gmail.com>
In-Reply-To: <CAPyBAS4-oRjrybxu81nPO1Xb0WPdYzJRoEZ3t8zjNUrxFsiZpw@mail.gmail.com>
References:  <CAPyBAS4-oRjrybxu81nPO1Xb0WPdYzJRoEZ3t8zjNUrxFsiZpw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560947F1.2040607>