Partition alignment
Andrea Venturoli
ml at netfence.it
Wed Mar 26 22:38:57 UTC 2014
On 03/26/14 22:59, Warren Block wrote:
> No. The starting blocks of the slice and partition are added together
> to determine the actual start block of the partition:
> The first partition begins at 63+0, or 63. 63*512 = 32256, not evenly
> divisible by 4K. Or just divide the block number by 8, same thing.
Ok.
That 63 was the one that was worrying me...
I'm wondering what's the rationale behind it (it was created by 8.4's
sysinstall); is it so to leave space for the MBR (or whatever boot block
type)?
Should I leave more space and start the slice at 256kB?
> When creating the partitions, use gpart's -a option, and it will add an
> offset so the slice is aligned:
>
> gpart add -t freebsd-ufs -a4k -s8g mfid0s1
So you are suggesting I could leave the slice where it is, and just move
the partitions?
Shouldn't I use -a256k, since that's the stripe size?
bye & Thanks
av.
More information about the freebsd-questions
mailing list