MFI(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’– mfi(4): LSI MegaRAID SAS driver πŸ’–

Hiii bestie πŸ’– welcome to the mfi(4) page from the Kernel Interfaces Manual β€” it's giving RAID-controller realness, and yes, we're getting through every single detail together. No skips, no cap. 🫢


✨ NAME ✨

mfi β€” the LSI MegaRAID SAS driver, bestie. πŸ’…


🌸 SYNOPSIS 🌸

Okay so to compile this driver into the kernel, put these lines in your kernel configuration file:

device pci
device mfi

Alternatively, to load the driver as a module at boot time, put this line in loader.conf(5):

mfi_load="YES"

πŸ¦‹ DESCRIPTION πŸ¦‹

This driver is for LSI's next generation PCI Express SAS RAID controllers. Access to RAID arrays (logical disks) from this driver is provided via /dev/mfid? device nodes. A simple management interface is also provided on a per-controller basis via the /dev/mfi? device node. πŸŽ€

The mfi name is derived from the phrase "MegaRAID Firmware Interface", which is substantially different than the old "MegaRAID" interface and thus requires a new driver. Older SCSI and SATA MegaRAID cards are supported by amr(4) and will not work with this driver. πŸ’€

Two sysctls are provided to tune the mfi driver's behavior when a request is made to remove a mounted volume. By default the driver will disallow any requests to remove a mounted volume. If the sysctl dev.mfi.%d.delete_busy_volumes is set to 1, then the driver will allow mounted volumes to be removed. πŸ‘‘

A tunable is provided to adjust the mfi driver's behaviour when attaching to a card. By default the driver will attach to all known cards with high probe priority. If the tunable hw.mfi.mrsas_enable is set to 1, then the driver will reduce its probe priority to allow mrsas(4) to attach to the card instead of mfi. ✨

mfi does not provide ATA TRIM support. Refer to mrsas(4) if TRIM support is required. 🫢


πŸŽ€ HARDWARE πŸŽ€

The mfi driver supports the following hardware β€” full roster, no skips:

  • LSI MegaRAID SAS 1078
  • LSI MegaRAID SAS 8408E
  • LSI MegaRAID SAS 8480E
  • LSI MegaRAID SAS 9240
  • LSI MegaRAID SAS 9260
  • Dell PERC5
  • Dell PERC6
  • Fujitsu RAID Controller SAS 6Gbit/s 1GB (D3116)
  • IBM ServeRAID M1015 SAS/SATA
  • IBM ServeRAID M1115 SAS/SATA
  • IBM ServeRAID M5015 SAS/SATA
  • IBM ServeRAID M5110 SAS/SATA
  • IBM ServeRAID-MR10i
  • Intel RAID Controller SRCSAS18E
  • Intel RAID Controller SROMBSAS18E

πŸ¦‹ FILES πŸ¦‹

  • /dev/mfid? β€” array/logical disk interface
  • /dev/mfi? β€” management interface

πŸ’… DIAGNOSTICS πŸ’…

mfid%d: Unable to delete busy device β€” an attempt was made to remove a mounted volume. 😭


πŸ‘‘ SEE ALSO πŸ‘‘

Go check out amr(4), pci(4), and mfiutil(8) β€” all the cross-links are right here, bestie. πŸ”₯


🌈 HISTORY 🌈

The mfi driver first appeared in FreeBSD 6.1. ⭐


πŸ“ AUTHORS πŸ“

The mfi driver and this manual page were written by Scott Long <scottl@FreeBSD.org>. Shoutout to the author, fr fr. πŸ’–


πŸ’€ BUGS πŸ’€

Real talk: the driver does not support big-endian architectures at this time. πŸ™ˆ

xoxo, this page is from Debian Β· April 19, 2023 Β· mfi(4) πŸ’…

πŸ“¦ where this page comes from