From owner-freebsd-stable@FreeBSD.ORG Sun Jun 2 14:17:47 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 06D38315 for ; Sun, 2 Jun 2013 14:17:47 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 91CB01476 for ; Sun, 2 Jun 2013 14:17:46 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id c10so1936598wiw.7 for ; Sun, 02 Jun 2013 07:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=/5k4cju+HIakM4IHvO5QSHFZUFCG2WWggwW5IpGMWHQ=; b=h9ef9KrWsTBKWSS6sZGCFfr/r4/BWCEzJBtUpaYrztOkAdNIb731aOGlEyHka0so4o Ces4v+aKvAWiDazwskYOGDqdQZvLJxUPF2zMH9o1TvdBRLALQ6yRSvdSxFNbqxophU8c bUNOJyAKWPK1qj3dfDFKoR1Be2WEx414r2oGBywGzU+918KhalCx5BfM+D1+JYzSQ0t4 yDWVlK7O+FQ0Q352gAOJHlTrR0zO2pj4dYFP3f9yVm0+qsjRGHZPslRR5jxtsSnztAAB B9myp4FsZAX2kCSnU5x7Vy4Z5FlhiR8TC/7n7YZCvcP0tFMlKwAM7uqkahLgqcPOwuVk Ra8A== X-Received: by 10.180.160.197 with SMTP id xm5mr9265292wib.63.1370182665815; Sun, 02 Jun 2013 07:17:45 -0700 (PDT) Received: from hollewijn.internal (8d690a59.ftth.concepts.nl. [141.105.10.89]) by mx.google.com with ESMTPSA id fx7sm16811656wic.11.2013.06.02.07.17.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Jun 2013 07:17:44 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Corrupt GPT header on disk from twa array - fixable? From: Alban Hertroys In-Reply-To: Date: Sun, 2 Jun 2013 16:17:43 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2943982C-719E-45D0-9B26-43B725738F83@gmail.com> References: <7ABBEE71A96E411793E41BD97DA72BCE@multiplay.co.uk> To: Kimmo Paasiala X-Mailer: Apple Mail (2.1503) Cc: 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:17:47 -0000 On Jun 2, 2013, at 16:12, Kimmo Paasiala wrote: >=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? =46rom dmesg: ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 ada2: usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) ATA-8 SATA 2.x device usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_IOERROR ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad8 ada3 at ahcich3 bus 0 scbus3 target 0 lun 0 ada3: ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada3: Command Queueing enabled ada3: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada3: Previously was known as ad10 ada4 at ahcich4 bus 0 scbus4 target 0 lun 0 ada4: ATA-8 SATA 2.x device usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, = ignored) ada4: 300.000MB/s transfers (SATA 2.x, usbd_setup_device_desc: getting = device descriptor at addr 2 failed, USB_ERR_IOERROR UDMA6, PIO 8192bytes) ada4: Command Queueing enabled ada4: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada4: Previously was known as ad12 ada5 at ahcich5 bus 0 scbus5 target 0 lun 0 ada5: ATA-8 SATA 3.x device ada5: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada5: Command Queueing enabled ada5: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada5: Previously was known as ad14 SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 13371081 Hz quality 800 GEOM: ada2: the secondary GPT header is not in the last LBA. GEOM: ada3: the secondary GPT header is not in the last LBA. GEOM_MIRROR: Device mirror/boot launched (2/2). GEOM_MIRROR: Device mirror/swap launched (2/2). GEOM_MIRROR: Device mirror/root launched (2/2). GEOM: ada4: the secondary GPT header is not in the last LBA. GEOM: ada5: the secondary GPT header is not in the last LBA. Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest.