FreeBSD-10.1 3.0TB hard drive
freebsd at edvax.de
Sun May 3 22:55:34 UTC 2015
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).
> 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_
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions