From owner-freebsd-questions@FreeBSD.ORG Sun May 3 22:55:34 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32D767DC for ; Sun, 3 May 2015 22:55:34 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA4771643 for ; Sun, 3 May 2015 22:55:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-64-237.dynamic.qsc.de [92.195.64.237]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E550E2761C; Mon, 4 May 2015 00:55:31 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t43MtVc1002367; Mon, 4 May 2015 00:55:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 May 2015 00:55:31 +0200 From: Polytropon To: scrat Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD-10.1 3.0TB hard drive Message-Id: <20150504005531.751c996b.freebsd@edvax.de> In-Reply-To: <5546681D.5030004@columbus.rr.com> References: <5546681D.5030004@columbus.rr.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 22:55:34 -0000 On Sun, 03 May 2015 14:25:33 -0400, scrat wrote: > I have been trying to get a 3.0TB drive to show up using gpart show > > dmesg show the following: > > ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 > ada1: ATA-8 SATA 3.x device > ada1: Serial Number PK2234P9H997BY > ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) > ada1: Command Queueing enabled > ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) > ada1: Previously was known as ad6 > ....... > GEOM: ada1: the secondary GPT header is not in the last LBA. > GEOM_PART: integrity check failed (ada1, GPT) > > ls /dev shows ada1 and nothing else (like adap1 and ada1p2). Something like "adap1" doesn't exist. It's always "adap" for GPT partitioned disks (either using "ada", "da" or "ad" for the disk driver, depending on your configuration). > It is > partitioned with two primary partitions (GPT) GPT does not have primary partitions, MBR has. But you would see that fact reflected in /dev. Example: GPT: /dev/ada1p1 /dev/ada1p1 MBR: /dev/ada1s1 /dev/ada1s2 /dev/ada1s2a (maybe more) You can use "gpart show" to examine what partitioning data is actually present. "fdisk" will also tell you (for MBR only). This is usually easier than concluding from the device files. > one is ntfs for windows > and I want to create a UFS files system on the other but it doesn't show > any partitions. So there is _one_ partition, plus unallocated space? Or is there already a second partition which you want to "re-use"? As mentioned, use "gpart show" to check. If you know the device name, you can simply run the following command: # newfs /dev/ada1p2 in case there is a 2nd GPT partition present and you want to write a UFS file system on that. Also read "man newfs" for UFS options you might want to set (like soft updates, journaling, optimization and the like). Before you do so, make _sure_ that you're operating on the _right_ partition! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...