I'm having a lot of trouble understanding and calculating the alignment.
OBJECTIVE: Know how to calculate the alignment for my HD, So I can align my HDs on my Laptop, 2 Nvme and 1 SSD, They are different brands and different sizes
Problem 1: How do I create a partition table with 4096 byte sectors?
I only know this command to create partition table:
And it always creates with 512 byte sectors. Informed by the command:
Created a 200GB SSD in virtualbox, with the above command
Problem 2: Which sector do I start in? So that my HD uses blocks of 4096 instead of 512? What is the correct formula to make this calculation?
My HDs have initial sectors 34, 40.
Those with initial sector 34 start in 2048
Those with an initial sector of 40 start at 40.
OBJECTIVE: Know how to calculate the alignment for my HD, So I can align my HDs on my Laptop, 2 Nvme and 1 SSD, They are different brands and different sizes
Problem 1: How do I create a partition table with 4096 byte sectors?
I only know this command to create partition table:
gpart create -s GPT ada0
And it always creates with 512 byte sectors. Informed by the command:
diskinfo -v /dev/ada0
Created a 200GB SSD in virtualbox, with the above command
Code:
40 419430320 ada0 GPT (200G)
40 419430320 - free - (200G)
512 # sectorsize
Problem 2: Which sector do I start in? So that my HD uses blocks of 4096 instead of 512? What is the correct formula to make this calculation?
My HDs have initial sectors 34, 40.
Those with initial sector 34 start in 2048
Those with an initial sector of 40 start at 40.