FreeBSD-10.1 3.0TB hard drive
baho-utot at columbus.rr.com
Sun May 3 23:15:40 UTC 2015
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: <HGST HDN724030ALE640 MJ8OA5E0> 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 "ada<dev>p<part>"
> 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 at 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 at baho-utot:~ # gpart show ada1
gpart: No such geom: ada1.
root at baho-utot:~ #
More information about the freebsd-questions