Hello, I am new to FreeBSD and I was wondering if anyone could tell me how set up a data drive with 4096B sectors. This will be a data only drive. And it will be 1.5 terabytes. I have tried to get the geometry to use 4096B sectors but no matter what I do I wind up with 512B sectors. I am assuming that I need to use fdisk to set up the geometry but I can't figure out how to set up 4096B sectors. Then I need to use newfs to format the drive. And finally I believe I will need to use BSDlabel to label and create the partition. I have tried using the following command for newfs:
But, I still don't get 4096B sectors. This is the output from diskinfo:
Also, when I tried to set up this disk I attempted to do it from the FreeBSD
install DVD. I would like to do it now from the command line. Any help will be
appreciated.
Code:
newfs -S 4096 -b 32768 -f 4096 -O 2 -U -m 8 -o space / dev/ad4
But, I still don't get 4096B sectors. This is the output from diskinfo:
Code:
/dev/ad4
512 # sector size
15003191006 #media size in bytes (1.4T)
2930277168 #media size in sectors
2907021 #Cylinders according to firmware
16 #Heads according to firmware
63 #Sectors according to firmware
ad:WD-WMAVU1303392 #diskident
Also, when I tried to set up this disk I attempted to do it from the FreeBSD
install DVD. I would like to do it now from the command line. Any help will be
appreciated.