I let FreeBSD 10.2 Release's installer use the whole SSD.
Now I read about the tool gpart, so I typed
Does this mean the SSD is not properly aligned? "126" does not seem to be dividable by 4, which as far as I know indicates that the partition is not aligned to match the hardware layout.
Edit: Seems I confused sectors with bytes. This is what
Still not sure if the alignment is good. I spent 2 hours reading about this but it is very confusing. I just want to make sure that the partitions are set up perfectly before I spend days and weeks of customizing my FreeBSD installation.
I also wonder why 32K at the start and 248M at the end of the disk are not used.
Now I read about the tool gpart, so I typed
gpart show
, and this is what is displayed:
Code:
=> 63 250069617 ada0 MBR (119G)
63 63 - free - (32K)
126 249561018 1 freebsd [active] (119G)
249561144 508536 - free - (248M)
=> 0 249561018 ada0s1 BSD (119G)
0 241172480 1 freebsd-ufs (115G)
241172480 8388537 2 freebsd-swap (4.0G)
249561017 1 - free - (512B)
Does this mean the SSD is not properly aligned? "126" does not seem to be dividable by 4, which as far as I know indicates that the partition is not aligned to match the hardware layout.
Edit: Seems I confused sectors with bytes. This is what
diskinfo -v /dev/ada0
shows:
Code:
ada0
512 # sectorsize
128035676160 # mediasize in bytes (119G)
250069680 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
248085 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
ada0s1
512 # sectorsize
127775241216 # mediasize in bytes (119G)
249561018 # mediasize in sectors
4096 # stripesize
3072 # stripeoffset
247580 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
Still not sure if the alignment is good. I spent 2 hours reading about this but it is very confusing. I just want to make sure that the partitions are set up perfectly before I spend days and weeks of customizing my FreeBSD installation.
I also wonder why 32K at the start and 248M at the end of the disk are not used.