From owner-freebsd-current@FreeBSD.ORG Sat Aug 31 17:07:54 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 C5D502A8 for ; Sat, 31 Aug 2013 17:07:54 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [IPv6:2607:f8b0:400c:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 514E92B48 for ; Sat, 31 Aug 2013 17:07:54 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id cy12so2123492veb.4 for ; Sat, 31 Aug 2013 10:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=h2DznriqMZDIZZmhKqJRiUJrzXoSMWX3gXUoElIjUpU=; b=WdkSh0gIufv146QMwqHn7OdJRR9bUoYmIOnKYX/iLJCvTHcnpRLBzAL32CqXcWRKOo 1Uv+29eRRuTPsC5FWwj3ypzxoE+HNCgdNP6h/EF5k0zj9bHcSp4drnxbnzrBneYhEFEZ jrBegtF31YkOHIip0B6DzR35RDKwsAg+brLqfGsFvKpG5T8Cu+qyjv7zA1UA1vQh2UCD wOduNslnnf7m2OGq3TamxJsmvDrum+Fr8zMXguLB5QRjQvZM2wP9ugjC/GCr+9ERllWs mN1ouceVXLSRS/f/HXv97w907iM8F5Gd3kKTHcATfpkDrfV0tKBMf8uJt8NzjQ302zp/ jEGw== MIME-Version: 1.0 X-Received: by 10.220.88.13 with SMTP id y13mr14308893vcl.20.1377968873412; Sat, 31 Aug 2013 10:07:53 -0700 (PDT) Received: by 10.220.96.78 with HTTP; Sat, 31 Aug 2013 10:07:53 -0700 (PDT) Date: Sat, 31 Aug 2013 13:07:53 -0400 Message-ID: Subject: 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: Sat, 31 Aug 2013 17:07:54 -0000 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.