I have an old server hardware running 10.2-RELEASE that has been running quite long without problem, until several power outage hit him, and suddenly yesterday the server freeze and displaying mfi0 timeout. As for the drive layout, I'm using 24x1T SATA for the data itself (raidz1, zsata), and 1x1T SATA for zroot. Normal booting causing the OS to stuck after trying to mount root from zfs:zroot/ROOT/default. I was able to enter single user mode and do some basic troubleshoot. Executing any
Yeah, kinda recipe for disaster running
Some said there is a patch for this
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=140416
however I don't know how to apply the patch on current situation. I could give more information if it's necessary. Any help would be appreciated, thanks!
zfs
command in single user mode (zpool, zfs) also causing mfi0 timeout error popout. Here some information I could dig : pciconf -lv
Code:
mfi0@pci0:3:0:0: class=0x010400 card=0x070015d9 chip=0x00791000 rev=0x04 hdr=0x00
vendor = 'LSI Logic / Symbios Logic'
device = 'MegaRAID SAS 2108 [Liberator]'
class = mass storage
subclass = RAID
root@:~ # mfiutil show adapter
Code:
mfi0 Adapter:
Product Name: LSI 2108 MegaRAID
Serial Number:
Firmware: 12.15.0-0239
RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID6, RAID10, RAID50
Battery Backup: not present
NVRAM: 32K
Onboard Memory: 512M
Minimum Stripe: 8K
Maximum Stripe: 1M
root@:~ # mfiutil show volumes
Code:
mfi0 Volumes:
Id Size Level Stripe State Cache Name
mfid0 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid1 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid2 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid3 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid4 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid5 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid6 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid7 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid8 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid9 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid10 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid11 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid12 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid13 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid14 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid15 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid16 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid17 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid18 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid19 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid20 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid21 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid22 ( 930G) RAID-0 64K OPTIMAL Enabled
mfid23 ( 930G) RAID-0 64K OPTIMAL Enabled
Yeah, kinda recipe for disaster running
zfs
on top of fake RAID and RAID0, however I'm not the one who built it. I've try disable the c-state on the BIOS, adding hw.mfi.mrsas_enable=1
to /boot/loader.conf
. As the OS can detect the hardware I don't think it's a driver issue.Some said there is a patch for this
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=140416
however I don't know how to apply the patch on current situation. I could give more information if it's necessary. Any help would be appreciated, thanks!