ZFS on Hardware RAID

Borja Marcos borjam at sarenet.es
Wed Jan 23 07:15:59 UTC 2019



> On 22 Jan 2019, at 14:55, andy thomas <andy at time-domain.co.uk> wrote:
> 
> On Tue, 22 Jan 2019, Borja Marcos wrote:
> 
> <snip>
> 
>> Currently you can use hw.mfi.allow_cam_disk_passthrough tunable to achieve the same effect without ugly tinkering.
> 
> The 'hw.mfi.allow_cam_disk_passthrough' tunable does not seem to be recognised if I add it to my /boot/device.hints file (this is on FreeBSD 10.3 with PERC 5/i controller). If I try to use sysctl to enable it, I get the error message:
> 
> 	sysctl: unknown oid 'hw.mfi.allow_cam_disk_passthrough'
> 
> Am I doing something wrong?

My fault. You need to load the CAM passthrough driver, mfip along mfi.

mfip should recognize it.

% fgrep -H passthrough *c
mfi_cam.c:SYSCTL_INT(_hw_mfi, OID_AUTO, allow_cam_disk_passthrough, CTLFLAG_RDTUN,

My apologies, been a while!

By the way, some of these “pure raid” cards can be cross flashed to be plain HBAs but it’s a risky procedure. I bricked one or two.





Borja.



More information about the freebsd-fs mailing list