From owner-freebsd-stable@FreeBSD.ORG Mon Aug 20 02:33:20 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3055106567E for ; Mon, 20 Aug 2012 02:33:20 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 5158A8FC0C for ; Mon, 20 Aug 2012 02:33:20 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6E4ED2070D for ; Sun, 19 Aug 2012 22:33:19 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Sun, 19 Aug 2012 22:33:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=6g1nAEx8IAY1inSfzaAgbn pSstA=; b=U8QfOIqk4J7bXHdFnY5Gx7A6AiEkjxFu2yeQnYOKGumGofbhtZ1AbL c/9lTL3PD8C333fDDjj6K5s88wIPFuYaRYeojSVLUFl6S4Sj3fuITCw1FWgHmvzw i3/cSEbDZ1mXMnPa4YenoAj6J2AUw58t+SKu/bhRGLJU/pOVot324= X-Sasl-enc: yDoDaSq9Wau0R3oOc0u4MvcT2oOpPABqxUCME2EH/GgP 1345429999 Received: from roadrash.ixsystems.com (unknown [216.139.7.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 111DE8E01B8 for ; Sun, 19 Aug 2012 22:33:18 -0400 (EDT) Message-ID: <5031A21D.3050102@tcbug.org> Date: Sun, 19 Aug 2012 19:34:05 -0700 From: Josh Paetzel User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <201208191737.q7JHbCr5010382@gw.catspoiler.org> <865E2D00967B4D8EB0782F7E4A525BD4@multiplay.co.uk> In-Reply-To: <865E2D00967B4D8EB0782F7E4A525BD4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: LSI 9240-4i 4K alignment X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 02:33:20 -0000 On 08/19/2012 14:04, Steven Hartland wrote: > > ----- Original Message ----- From: "Don Lewis" > To: > Cc: ; ; > > Sent: Sunday, August 19, 2012 6:37 PM > Subject: Re: LSI 9240-4i 4K alignment > > >> On 16 Aug, Steven Hartland wrote: >>> ----- Original Message ----- From: "George Kontostanos" >>> >>> >>>> You are right, the chip specs say: LSISAS2108 RAID-on-Chip >>>> >>>> The drives are identified as mfisyspd0, mfisyspd1, etc. >>> >>> The following might be interesting to you:- >>> http://forums.servethehome.com/showthread.php?599-LSI-RAID-Controller-and-HBA-Complete-Listing-Plus-OEM-Models >>> >>> >>> Which states:- >>> LSI MegaRAID SAS 9240-4i 1x4 port internal SAS vertical, >>> no cache, no BBU, RAID 0, 1, 10 and 5, can be crossflashed >>> to LSI9211 IT/IR >>> >>> This is insteresting as this is the card we're using but >>> in the 8 port version under mps :) >> >> I wish I would have known this earlier. I just put together a ZFS >> server using LSI MegaRAID SAS 9240-8i cards. The cabling probably would >> have been cleaner with the 9211-8i, but I went with the 9240 because the >> vendor that I purchased the cards from listed that 9240 as being >> PCI-Express 2.0, but didn't say that about the 9211. I also got the >> impression that the 9240 recognized JBOD drives with the off-the-shelf >> firmware, whereas the 9211 did not. >> >> Even LSI's own site is a bit confusing. They list the 9211 in the HBA >> section, but its specs don't mention JBOD, whereas the 9240 is listed in >> the RAID section and its specs do list JBOD. If the only physical >> difference between the cards is the connector position, it seems odd >> that they don't offer products with all the combinations of firmware and >> connector position. >> >> I haven't configured the ZFS pool yet, but I didn't have any trouble >> installing FreeBSD 9.1-BETA on the GPT partitioned boot drive, which >> shows up as an mfi device. I'm planning on getting the ZFS pool up and >> running in the next few days. > > HBA's are the way to go if your using ZFS to manage the disks, you only > need RAID if your using a FS which doesn't manage the disk side well > such as UFS. > > Its often quite common for RAID controllers to actually be slower > vs RAID controllers as the RAID stack can get in the way. > > JBOD is generally what HBA's do by default which may be the reason > why LSI's site doesn't mention it. > > Regards > Steve Just to clear up, The 9240 is a sas2008 based card with the megaraid software on top of it. In it's default config from LSI the FreeBSD mfi will recognize it in later versions of FreeBSD (The upcoming 9.1 for sure) Older versions of mfi will not recognize it. The card can be flashed with IT firmware and then becomes a 9211 HBA, but it's a bit more expensive than a 9211 is so that doesn't make sense to do in many cases. On the dmesg posted the firmware on the card is phase 11. This *must* be in lockstep with the driver version or the card may not play nicely. FreeBSD 8.3 and 9.0 have v13 of the driver, the upcoming 9.1 will have v14. Note that v14 fixes a *ton* of stability bugs, including issues where bad drives would hang the controller or prevent systems from booting. Thanks, Josh Paetzel