From owner-freebsd-stable@FreeBSD.ORG Sun Jun 2 14:30:18 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1500A889 for ; Sun, 2 Jun 2013 14:30:18 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by mx1.freebsd.org (Postfix) with ESMTP id A0DD81649 for ; Sun, 2 Jun 2013 14:30:17 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hq7so1927583wib.12 for ; Sun, 02 Jun 2013 07:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=suYlk2njgrIB+LCpNvn/fJg5O2aHNx11tiGRa3BIF3U=; b=tkxyhzd5lJdSGYs5ZRf0RTRjDWgR6lBt3VCN6/+ni/VspWZUcfxdlS+vEPvDY8v7jf VH4y0d1AHySusBgBV3Z4qeBFtdVQnj+jdKpjCVGZ9LEldf+AKxnq+H4Hb+Ivnn5NGYyL WJ1jthFybY6QvGmjShdHeKapf3bsVpA4UjP2sFkqaeJpL5CwdcsUb8v68U9QIK5oJOmU wDYSCc/pWpRNjMI5vuXtgQPqYF+84reoVmQ2NLjEYTLhFPES1k/Nw2sA68qdUNGyDmcD vE4tndn3CCiorzOca788xlYeyCp/YxXCubiWq9GaMz1Q+H9Syfl5y5YQ4YLiBuhPIcaz XOpg== X-Received: by 10.180.206.180 with SMTP id lp20mr9399028wic.41.1370183416797; Sun, 02 Jun 2013 07:30:16 -0700 (PDT) Received: from hollewijn.internal (8d690a59.ftth.concepts.nl. [141.105.10.89]) by mx.google.com with ESMTPSA id ff10sm16899042wib.10.2013.06.02.07.30.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Jun 2013 07:30:15 -0700 (PDT) Subject: Re: Corrupt GPT header on disk from twa array - fixable? Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 From: Alban Hertroys X-Priority: 3 In-Reply-To: <2FAF6B543DC04149B2ADCD1CB7B77D08@multiplay.co.uk> Date: Sun, 2 Jun 2013 16:30:14 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <791A4144-BCFB-4D49-9844-352F45BB6677@gmail.com> References: <7ABBEE71A96E411793E41BD97DA72BCE@multiplay.co.uk> <2FAF6B543DC04149B2ADCD1CB7B77D08@multiplay.co.uk> To: "Steven Hartland" X-Mailer: Apple Mail (2.1503) Cc: Kimmo Paasiala , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 14:30:18 -0000 On Jun 2, 2013, at 16:19, "Steven Hartland" = wrote: > ----- Original Message ----- From: "Kimmo Paasiala" = >=20 >> Looking at the gpart(8) output it seems that only 20GBs of the disk = is >> recognized by the disk driver but the GPT table still shows the full >> capacity 910GB. I'd say that the GPT table is in fact correct and if >> you can somehow get the disks to be recognized with full capacity = they >> should be usable as they are. What does dmesg(8) say about the disks? >=20 > What does "camcontrol identify ada4" show? You guys are asking good questions! I'm learning new stuff already :P # camcontrol identify ada4 pass4: ATA-8 SATA 2.x device pass4: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model Hitachi HDS721010CLA332 firmware revision JP4OA39C serial number JP2930HQ0XPH3H WWN 5000cca35dcd0b0d cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 268435455 sectors LBA48 supported 1953525168 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6=20 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 no 0/0x00 automatic acoustic management yes no 254/0xFE 128/0x80 media status notification no no power-up in Standby yes no write-read-verify no no unload no no free-fall no no data set management (TRIM) no For good measure: # uname -a FreeBSD solfertje 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 = 09:23:10 UTC 2012 = root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 (I'm building STABLE world as we speak) Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest.