Date: Tue, 22 Jan 2019 13:10:34 +0100 From: Borja Marcos <borjam@sarenet.es> To: Borja Marcos <borjam@sarenet.es> Cc: Steven Hartland <killing@multiplay.co.uk>, freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: ZFS on Hardware RAID Message-ID: <E4422BA2-A9E3-4CC6-8E10-EA6B8563A2BE@sarenet.es> In-Reply-To: <A593D329-3526-4B5A-BCEF-7C17FA5FFA49@sarenet.es> References: <1180280695.63420.1547910313494.JavaMail.zimbra@gausus.net> <92646202.63422.1547910433715.JavaMail.zimbra@gausus.net> <CAOeNLurgn-ep1e=Lq9kgxXK%2By5xqq4ULnudKZAbye59Ys7q96Q@mail.gmail.com> <alpine.BSF.2.21.1901200834470.12592@mail0.time-domain.co.uk> <1691666278.63816.1547976245836.JavaMail.zimbra@gausus.net> <alpine.BSF.2.21.1901200930550.12592@mail0.time-domain.co.uk> <CAMdBLfQvF7mXriwAvu-h5BaXBNhb_8VPRRfDmeM0u1NGoyWY_g@mail.gmail.com> <92746659-4B3F-415C-BB6A-6C99837AFAF2@sarenet.es> <335e44ec-7c76-8dbd-f587-46e6a9266efc@multiplay.co.uk> <A593D329-3526-4B5A-BCEF-7C17FA5FFA49@sarenet.es>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 22 Jan 2019, at 12:52, Borja Marcos <borjam@sarenet.es> wrote: >=20 > HBA mode: when the card is in IT mode *or* it does expose the actual = targets to the CAM layer. In the past I did it > by manually patching the drivers and I=E2=80=99ve kept systems running = smoothly for many years despite using IR cards.=20 > Currently you can use hw.mfi.allow_cam_disk_passthrough tunable to = achieve the same effect without ugly tinkering.=20 This is what I did long ago to have IR cards expose the targets to the = CAM layer. It was a suggestion from Scott Long. I first did it with AAC cards, later with MFI ones.=20 = https://lists.freebsd.org/pipermail/freebsd-scsi/2007-October/003223.html Some years ago the =E2=80=9Crecipe=E2=80=9D was made official (although = not encouraged) by adding the=20 hw.mfi.allow_cam_disk_passthrough tunable. Doing this I didn=E2=80=99t need to create volumes or anything. Just = plug the disks and avoid to configure anything for them on the RAID controller. The disks appeared as =E2=80=9Cd= a=E2=80=9D devices and I could hot plug them and use the CAM commands without any issues.=20 Borja.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E4422BA2-A9E3-4CC6-8E10-EA6B8563A2BE>