|
NAMEmrsas —
LSI MegaRAID 6Gb/s and 12Gb/s SAS+SATA RAID controller
driver
SYNOPSISTo compile this driver into the kernel, place the following lines in your kernel configuration file:device pci
device mrsas Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): mrsas_load="YES" DESCRIPTIONThemrsas driver will detect LSI's next generation
(6Gb/s and 12Gb/s) PCI Express SAS/SATA RAID controllers. See the
HARDWARE section for the supported devices list. A
disk (virtual disk/physical disk) attached to the
mrsas driver will be visible to the user through
camcontrol(8)
as /dev/da? device nodes. A simple management
interface is also provided on a per-controller basis via the
/dev/mrsas? device node.
The The
device.hints(5)
option is provided to tune the
Solid-state drives (SSD) get ATA TRIM support with
HARDWAREThemrsas driver supports the following hardware:
[ Thunderbolt 6Gb/s MR controller ]
[ Invader/Fury 12Gb/s MR controller ]
CONFIGURATIONTo disable Online Controller Reset(OCR) for a specificmrsas driver instance, set the following tunable value
in
loader.conf(5):
dev.mrsas.X.disable_ocr=1 where X is the adapter number. To change the I/O timeout value for a specific
dev.mrsas.X.mrsas_io_timeout=NNNNNN where NNNNNN is the timeout value in milli-seconds. To change the firmware fault check timer value for a specific
dev.mrsas.X.mrsas_fw_fault_check_delay=NN where NN is the fault check delay value in seconds. The current number of active I/O commands is shown in the dev.mrsas.X.fw_outstanding sysctl(8) variable. DEBUGGINGTo enable debugging prints from themrsas driver, set
the hw.mrsas.X.debug_level variable, where X is the
adapter number, either in
loader.conf(5)
or via
sysctl(8).
The following bits have the described effects:
PRIORITYThemrsas driver will always set a default (-30)
priority in the PCI subsystem for selection of MR-Fusion cards. (It is between
BUS_PROBE_DEFAULT and
BUS_PROBE_LOW_PRIORITY ). MR-Fusion Controllers include
all cards with the Device IDs - 0x005B, 0x005D, 0x005F.
The
mfi(4)
driver will set a priority of either
Using /boot/device.hints (as mentioned
below), the user can provide a preference for the
hw.mfi.mrsas_enable="1" At boot time, the
mfi(4)
driver will get priority to detect MR-Fusion controllers by default. Before
changing this default driver selection policy, LSI advises users to
understand how the driver selection policy works. LSI's policy is to provide
priority to the
mfi(4)
driver to detect MR-Fusion cards, but allow for the ability to choose the
LSI recommends setting hw.mfi.mrsas_enable="0" for
customers who are using the older
mfi(4)
driver and do not want to switch to Changing the default behavior is well tested under most
conditions, but unexpected behavior may pop up if more complex and
unrealistic operations are executed by switching between the
mfi(4) and
The user may see different device names when switching from
mfi(4) to
FILES
SEE ALSOcam(4), mfi(4), pci(4), device.hints(5), camcontrol(8)HISTORYThemrsas driver first appeared in
FreeBSD 10.1.
mfi Driver:
mfi(4) is
the old FreeBSD driver which started with support for
Gen-1 Controllers and was extended to support up to MR-Fusion (Device ID =
0x005B, 0x005D, 0x005F).mrsas Driver:
mrsas is the new driver reworked by LSI which supports
Thunderbolt and onward products. The SAS+SATA RAID controller with device id
0x005b is referred to as the Thunderbolt controller throughout this man
page.cam aware HBA drivers:
FreeBSD has a
cam(4) layer
which attaches storage devices and provides a common access mechanism to
storage controllers and attached devices. The mrsas
driver is
cam(4) aware
and devices associated with mrsas can be seen using
camcontrol(8).
The mfi(4)
driver does not understand the
cam(4) layer
and it directly associates storage disks to the block layer.
AUTHORSThemrsas driver and this manual page were written by
Kashyap Desai
<Kashyap.Desai@lsi.com>.
TODOThe driver does not support alias for device name (it is required when the user switches between two drivers and does not want to edit /etc/fstab manually).The
Visit the GSP FreeBSD Man Page Interface. |