From owner-freebsd-questions@FreeBSD.ORG Sun May 3 23:15:39 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB2A5177 for ; Sun, 3 May 2015 23:15:39 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) by mx1.freebsd.org (Postfix) with ESMTP id B06DF184C for ; Sun, 3 May 2015 23:15:38 +0000 (UTC) Received: from [75.187.32.8] ([75.187.32.8:56050] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 62/20-27884-31CA6455; Sun, 03 May 2015 23:15:31 +0000 Received: from [192.168.1.53] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1Yp36h-0002RB-7O for freebsd-questions@freebsd.org; Sun, 03 May 2015 19:15:31 -0400 Message-ID: <554673D2.4030505@columbus.rr.com> Date: Sun, 03 May 2015 15:15:30 -0400 From: Baho Utot User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD-10.1 3.0TB hard drive References: <5546681D.5030004@columbus.rr.com> <20150504005531.751c996b.freebsd@edvax.de> In-Reply-To: <20150504005531.751c996b.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 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 23:15:40 -0000 On 05/03/15 18:55, Polytropon wrote: > 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). Yes I should have wrote ada1p1, I mis-typed > > >> 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. > It does not show ada1 at all nothing is returned. > >> 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 Nothing doing..., FreeBSD already trashed the ntfs once. I can not do a newfs -U /dev/ada1p2 when it does not exist. The partition is there (ada1p2) win7 sees it FreeBSD only show /dev/ada1 and nothing else. gpart show ada1 root@baho-utot:~ # gpart show ada0 => 63 976773105 ada0 MBR (466G) 63 1985 - free - (993K) 2048 204800 1 ntfs (100M) 206848 614195200 2 ntfs (293G) 614402048 34 - free - (17K) 614402082 362371023 3 freebsd [active] (173G) 976773105 63 - free - (32K) root@baho-utot:~ # gpart show ada1 gpart: No such geom: ada1. root@baho-utot:~ #