From owner-freebsd-scsi@FreeBSD.ORG Sun May 8 23:37:45 2011 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 066D1106564A for ; Sun, 8 May 2011 23:37:45 +0000 (UTC) (envelope-from ken@kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.freebsd.org (Postfix) with ESMTP id 48B8C8FC12 for ; Sun, 8 May 2011 23:37:44 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id p48NO6nC084297; Sun, 8 May 2011 17:24:06 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id p48NO59M084296; Sun, 8 May 2011 17:24:05 -0600 (MDT) (envelope-from ken) Date: Sun, 8 May 2011 17:24:05 -0600 From: "Kenneth D. Merry" To: Artem Belevich Message-ID: <20110508232405.GA84267@nargothrond.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Cc: Michael Reifenberger , FreeBSD-SCSI Subject: Re: mpt(4) cuts 3TiB drives down to 2TiB X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 23:37:45 -0000 On Sun, May 08, 2011 at 12:31:28 -0700, Artem Belevich wrote: > On Sun, May 8, 2011 at 5:13 AM, Michael Reifenberger > wrote: > > Hi, > > the manpage of mptutil states that mpt(4) doesn't support volumes greater > > 2TiB, > > it suggests to use the disks in JBOD mode. > > > > Even this seems only to work for disk with less than 2TiB. > > > > When attaching a Hitachi 7k3000 drive on the LSI SAS/SATA ports of a > > Supermicro X8ST3-F board I only see 4294967294 sectors while I get 976773168 > > sectors when > > attaching to the on board SATA ports. > > > > This leaves the onboard LSI controller useless for bigger disks. > > > > Is there a way to work around this issue? > > > > Or is anybody working on enhancing the mpt(4) driver to use the newer API? > > According to LSI, it's a 'feature'. Controllers based on > LSI1068/1068e (X8ST3-F uses LSI 1068E) truncate drive capacity to > 2TB: > http://kb.lsi.com/KnowledgebaseArticle16399.aspx I have heard from a friend (i.e. I haven't personally confirmed) that the capacity truncation only applies to SATA drives. If you attach a 3TB SAS drive, you should be able to see the full capacity. It makes some sense, since the LSI controller is translating SCSI to SATA, but for SAS drives it just passes the SCSI commands straight through to the drive. So the 16 byte READ CAPACITY, READ and WRITE commands will make it through to SAS disks, but aren't translated for SATA disks. Ken -- Kenneth Merry ken@FreeBSD.ORG