Hi guys,
I am trying to install a 3TB Seagate HDD but it is not as easy as I expected... nothing ever is.
Using this thread I have tried the following method:
First I get the disk info:
Using the thread above I calculate the following to be the correct geometry:
I set this geometry in fdisk though sysinstall:
I then use newfs to create the filesystem as follows:
But rather than using the geometry I set previously it uses the following:
This results in a partition of 735G.
Where did I go wrong?
I am trying to install a 3TB Seagate HDD but it is not as easy as I expected... nothing ever is.
Using this thread I have tried the following method:
First I get the disk info:
Code:
ad12
512 # sectorsize
3000592982016 # mediasize in bytes (2.7T)
5860533168 # mediasize in sectors
5814021 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
W1F03HGG # Disk ident.
Using the thread above I calculate the following to be the correct geometry:
Code:
[color="Red"]32768[/color] # sectorsize
3000592982016 # mediasize in bytes (2.7T)
[color="red"]5860491264[/color] # mediasize in sectors
5814021 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
W1F03HGG # Disk ident.
I set this geometry in fdisk though sysinstall:
Code:
Disk name: ad12 FDISK Partition Editor
DISK Geometry: 5814021 cyls/16 heads/63 sectors = 5860533168 sectors (2861588MB)
Offset Size(ST) End Name PType Desc Subtype Flags
0 63 62 - 12 unused 0
63 5860533105 5860533167 ad12s1 8 freebsd 165
I then use newfs to create the filesystem as follows:
Code:
# newfs -S 4096 -b 32768 -f 4096 -O 2 -U -m 8 -o space -L mediabackup /dev/ad12s1
But rather than using the geometry I set previously it uses the following:
Code:
/dev/ad12s1: 764436.4MB (1565565808 sectors) block size 32768, fragment size 4096
using 1034 cylinder groups of 740.00MB, 23680 blks, 47360 inodes.
with soft updates
This results in a partition of 735G.
Where did I go wrong?