From owner-freebsd-current@FreeBSD.ORG Mon Sep 2 13:15:46 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0EE0356F for ; Mon, 2 Sep 2013 13:15:46 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2A932E96 for ; Mon, 2 Sep 2013 13:15:45 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id hz10so2913051vcb.26 for ; Mon, 02 Sep 2013 06:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pdzAxFexjpIwbW3wkk5y+z7GQt4MoHUi70X99va781U=; b=EdkbJ2x0PSANRkMC4d6uKg9l7KXvXiedmlEHWHUzX11pe2sgUF7ZFYJFhH/6wDUk40 XqVK/v7rEe5pnBUlWwLIPTphajdgCY9IbakNe3+CazxKPe4UO9JeLhBMaexLYTtoGC4/ iB6eaZV1erlvvLwlU2y951I6twQM5JkHPxz8PI9nm07FezyU1G9cvgDnoxY0wp2k/GdU MFQemlTsIyL0O9hmV0BLcex2xUfxJzV0bn4mfF/Mw501axXa501tr6iyC2zIQmniW0hi wd2bLh6FkROXUTqv/VT+eWe/MaN/cvS8YtHArI/UGVa8V1bx71J89dsh7qVj0x34bS3q tnvQ== MIME-Version: 1.0 X-Received: by 10.58.128.71 with SMTP id nm7mr8422veb.51.1378127744824; Mon, 02 Sep 2013 06:15:44 -0700 (PDT) Received: by 10.220.96.78 with HTTP; Mon, 2 Sep 2013 06:15:44 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Sep 2013 09:15:44 -0400 Message-ID: Subject: Re: LSI SAS2008 mps(4) 4TB disk only shows 2TB on CURRENT r255089 From: "Sam Fourman Jr." To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 13:15:46 -0000 On Sat, Aug 31, 2013 at 1:07 PM, Sam Fourman Jr. wrote: > Hello list > > I have two issues that may in fact be both related to the LSI SAS2008 card > or > the mps(4) driver. > > this server is running FreeBSD 10.0-CURRENT #0 r255089 > > > 1) All of the SSD disks are showing up at SATA2 300MB's > but the card is in fact a 6GB Sata3 card.. > > 2) a Westren Digital 4TB disk only shows 2TB (connected to the LSI > controller) > > full dmesg here > https://gist.github.com/sfourman/6399419 > > full pciconf here > https://gist.github.com/sfourman/6399454 > > > > Below is some disk info, > > > $ sudo camcontrol identify da6 > pass6: ATA-8 SATA 3.x device > pass6: 300.000MB/s transfers, Command Queueing Enabled > > protocol ATA/ATAPI-8 SATA 3.x > device model WDC WD4000FYYZ-01UL1B0 > firmware revision 01.01K01 > serial number WD-WCC130721596 > WWN 50014ee25de95b67 > cylinders 16383 > heads 16 > sectors/track 63 > sector size logical 512, physical 512, offset 0 > LBA supported 268435455 sectors > LBA48 supported 7814037168 sectors > PIO supported PIO4 > DMA supported WDMA2 UDMA6 > media RPM 7200 > > Feature Support Enabled Value Vendor > read ahead yes yes > write cache yes yes > flush cache yes yes > overlap no > Tagged Command Queuing (TCQ) no no > Native Command Queuing (NCQ) yes 32 tags > SMART yes yes > microcode download yes yes > security yes no > power management yes yes > advanced power management yes yes 128/0x80 > automatic acoustic management no no > media status notification no no > power-up in Standby yes no > write-read-verify no no > unload yes yes > free-fall no no > Data Set Management (DSM/TRIM) no > Host Protected Area (HPA) yes no 7814037168/7814037168 > HPA - Security no > $ > > > sudo gpart create -s gpt /dev/da6 > da6 created > $ gpart show > => 34 234441581 da0 GPT (111G) > 34 128 1 freebsd-boot (64k) > 162 224395136 2 freebsd-ufs (107G) > 224395298 8388608 3 freebsd-swap (4.0G) > 232783906 1657709 - free - (809M) > > => 34 4294967227 da6 GPT (2T) > 34 4294967227 - free - (2T) > > > $ sudo gpart add -a 4k -t freebsd-zfs -l backup da6 > da6p1 added > $ > $ > $ > $ > $ > $ gpart show > => 34 234441581 da0 GPT (111G) > 34 128 1 freebsd-boot (64k) > 162 224395136 2 freebsd-ufs (107G) > 224395298 8388608 3 freebsd-swap (4.0G) > 232783906 1657709 - free - (809M) > > => 34 4294967227 da6 GPT (2T) > 34 6 - free - (3.0k) > 40 4294967216 1 freebsd-zfs (2T) > 4294967256 5 - free - (2.5k) > -- > > Sam Fourman Jr. > is it possible that the problem is in the cam layer and not the mps(4) driver? -- Sam Fourman Jr.