From owner-freebsd-hardware@freebsd.org Thu Nov 16 18:43:56 2017 Return-Path: Delivered-To: freebsd-hardware@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61744DE5A7C for ; Thu, 16 Nov 2017 18:43:56 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 328D9653F5 for ; Thu, 16 Nov 2017 18:43:55 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-it0-x22c.google.com with SMTP id m191so1163630itg.2 for ; Thu, 16 Nov 2017 10:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=YB1gU6xAwLTBX2gNqg8eGdE6ei3kKxKthuHeKvGZRu8=; b=b8R5zAOdFZQy0tPanEuy0oRERSnNvlWIVy3TDbVHSPl7OoVgcCucrsQx3+zK6APApw TeL/higez/PcsuOWOB5pav05D7kiXlqHmfSNMUJKFdnoalp1pRfKnAPBiWPIypcES5Pc TcaWFzbFPqKefHrYHLR4Ihyb6Ud5NRkaZZ9do/HEeFFfL7AbL/z94j2GFuivYCJaOPcn 2z3xbUYzwuyoPqTL59FxBL7m1D9q3RTnMmoIKgDJSrWyEZKp0vBXy3xBtbHaZBm4kRY8 EnMtNwS9EQdJv6tATlBLG/8Idl2XOOU44JGV2LzqhPOsCDGWj8Y2HP14ARiUu34YN+aV 3pcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=YB1gU6xAwLTBX2gNqg8eGdE6ei3kKxKthuHeKvGZRu8=; b=EYkbWh2FN33Cm5EBWojShrC+Ao1lVfSxUUSD3UvMYNz36eMNUjAv4ykLV7R8Hb9/U8 YQYEFZNIALSKoYktoNxllTE6zA/3mMpbIS6qS8GsHG+lIqKM5XvpxR3VCKQ39vlQi4x5 Es5P1UlsM2aOFGZ/dD1C75L1npTEEN6u5cTLLMJElZyMmlbYjVqQ7XQ5UDAS+D8HNryq 0d4pyiSKVP/dosDZzGAEYTiUi8uPibuAuXWr9HlB4szTqdZ0yGyiOIqtM6A/n9k91WTT km7KBWSRAbHXdYN94041ZhPfusdDlriV1ztWA41Qd099JEDq2XZ3KnLzgiv8i9HdkWw2 /6+g== X-Gm-Message-State: AJaThX5rKl5ImbVng1TxaXh46lC2Xr51X6TUD5kUHn1dKvUuF3DBBCFk hoBmD1ASfLMzXBj0QEoXZZ0QfMyodp0JHtpI2fg0fw== X-Received: by 10.36.163.138 with SMTP id p132mt3351032ite.57.1510857833960; Thu, 16 Nov 2017 10:43:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.125.79 with HTTP; Thu, 16 Nov 2017 10:43:53 -0800 (PST) In-Reply-To: <20171116142843.GA25563@mithlond.kdm.org> References: <20171116142843.GA25563@mithlond.kdm.org> From: Lee Brown Date: Thu, 16 Nov 2017 10:43:53 -0800 Message-ID: Subject: Re: Does anybody have experience with a MD1420, mpr(4) Cc: freebsd-scsi@freebsd.org, freebsd-hardware@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 18:43:56 -0000 On Thu, Nov 16, 2017 at 6:28 AM, Kenneth D. Merry wrote: > On Wed, Nov 15, 2017 at 12:24:47 -0800, Lee Brown wrote: > > Hi, > > > > This is my for foray into DAS, so please be gentle :) Apologies if the > > cross-post is inappropriate, let me know. > > > > I'm looking to build a SAS array with a Dell MD1420. It will be attached > > via a SAS 9300-414E HBA in a Dell R330. > > > > I've verified that the server / SAS card should be fine, but just wanted > to > > know if anybody has set this up before, or if there's any obvious reason > > why it wouldn't work. Dell can be a bit weird sometimes. > > > > Any information is most welcome. > > In theory it should be fine. I haven't used a Dell enclosure recently, but > from posts here, it seems that they like to turn on Type 2 Protection > Information on the drives. (Assuming you buy the drives from Dell.) > > If they do that, you can either reformat, or see the patch here for the > mpr(4) driver to disable using protection information: > > https://docs.freebsd.org/cgi/getmsg.cgi?fetch=308820+0+ > archive/2017/freebsd-scsi/20171022.freebsd-scsi > > I haven't gotten around to changing things so that we detect the PI in the > da(4) driver and use 32 byte CDBs when type 2 protection is enabled. (So > if someone else has time and wants to do it, feel free. It will be > somewhat messy because we only allocate enough space for 16 byte CDBs > inside > the CCB, so you'll need to allocate the CDB separately...) > > If you use ZFS, you'll have checksum protection on your data anyway, so PI > would just be additional protection. > > I would also suggest that you update to the latest firmware (currently > Phase 15) for the SAS controller. You can do that with LSI's sas3flash or > the FreeBSD mprutil(8) utility. > > Ken > -- > Kenneth Merry > ken@FreeBSD.ORG > Thanks Ken, I'm going to purchase the system. I had no idea about PI, that's a nice feature for sure. This will probably just be iSCSI and NFS4 over a 10Gb NIC (Xen cluster), so having PI detection is certainly of interest to me. I'll figure out what I can do to contribute (code/testing) when things have settled. Assuming all is well I'll get the 1420 added to the hardware compatibility list. Much appreciated -- lee