From owner-freebsd-fs@freebsd.org Wed Jan 23 07:15:59 2019 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0186B14BDD98 for ; Wed, 23 Jan 2019 07:15:59 +0000 (UTC) (envelope-from borjam@sarenet.es) Received: from cu01176b.smtpx.saremail.com (cu01176b.smtpx.saremail.com [195.16.151.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFE7A8DF6A for ; Wed, 23 Jan 2019 07:15:57 +0000 (UTC) (envelope-from borjam@sarenet.es) Received: from [172.16.8.5] (unknown [192.148.167.11]) by proxypop01.sare.net (Postfix) with ESMTPA id 9AC1C9DD2D7; Wed, 23 Jan 2019 08:15:47 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: ZFS on Hardware RAID From: Borja Marcos In-Reply-To: Date: Wed, 23 Jan 2019 08:15:46 +0100 Cc: Steven Hartland , freebsd-fs Content-Transfer-Encoding: quoted-printable Message-Id: <6E23ED3B-B163-40E5-A173-14EE47E00E5A@sarenet.es> References: <1180280695.63420.1547910313494.JavaMail.zimbra@gausus.net> <92646202.63422.1547910433715.JavaMail.zimbra@gausus.net> <1691666278.63816.1547976245836.JavaMail.zimbra@gausus.net> <92746659-4B3F-415C-BB6A-6C99837AFAF2@sarenet.es> <335e44ec-7c76-8dbd-f587-46e6a9266efc@multiplay.co.uk> To: andy thomas X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: CFE7A8DF6A X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of borjam@sarenet.es designates 195.16.151.151 as permitted sender) smtp.mailfrom=borjam@sarenet.es X-Spamd-Result: default: False [-1.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.940,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:195.16.150.0/23]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sarenet.es]; NEURAL_HAM_LONG(-0.98)[-0.978,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: smtp.sarenet.es]; NEURAL_HAM_SHORT(-0.27)[-0.271,0]; RCVD_IN_DNSWL_NONE(0.00)[151.151.16.195.list.dnswl.org : 127.0.10.0]; IP_SCORE(0.01)[country: ES(0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3262, ipnet:195.16.128.0/19, country:ES]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2019 07:15:59 -0000 > On 22 Jan 2019, at 14:55, andy thomas wrote: >=20 > On Tue, 22 Jan 2019, Borja Marcos wrote: >=20 > >=20 >> Currently you can use hw.mfi.allow_cam_disk_passthrough tunable to = achieve the same effect without ugly tinkering. >=20 > 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: >=20 > sysctl: unknown oid 'hw.mfi.allow_cam_disk_passthrough' >=20 > 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 =E2=80=9Cpure raid=E2=80=9D cards can be cross = flashed to be plain HBAs but it=E2=80=99s a risky procedure. I bricked = one or two. Borja.