Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail



> On 22 Jan 2019, at 12:52, Borja Marcos <borjam@sarenet.es> wrote:
> 
> 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’ve kept systems running smoothly for many years despite using IR cards. 
> Currently you can use hw.mfi.allow_cam_disk_passthrough tunable to achieve the same effect without ugly tinkering. 

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. 

https://lists.freebsd.org/pipermail/freebsd-scsi/2007-October/003223.html

Some years ago the “recipe” was made official (although not encouraged) by adding the 
hw.mfi.allow_cam_disk_passthrough tunable.

Doing this I didn’t 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 “da” devices and I could
hot plug them and use the CAM commands without any issues. 





Borja.




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E4422BA2-A9E3-4CC6-8E10-EA6B8563A2BE>