From owner-freebsd-hardware@freebsd.org Thu Nov 16 14:28:46 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 E3057DDF257; Thu, 16 Nov 2017 14:28:46 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "A1-33714", Issuer "A1-33714" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D3837CA8B; Thu, 16 Nov 2017 14:28:46 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (localhost [127.0.0.1]) by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id vAGEShhg025924 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Nov 2017 09:28:43 -0500 (EST) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.14.9/Submit) id vAGEShxs025923; Thu, 16 Nov 2017 09:28:43 -0500 (EST) (envelope-from ken) Date: Thu, 16 Nov 2017 09:28:43 -0500 From: "Kenneth D. Merry" To: Lee Brown Cc: freebsd-scsi@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Does anybody have experience with a MD1420, mpr(4) Message-ID: <20171116142843.GA25563@mithlond.kdm.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mithlond.kdm.org [127.0.0.1]); Thu, 16 Nov 2017 09:28:43 -0500 (EST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org 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 14:28:47 -0000 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