File system blocks alignment

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Jan 2 09:41:58 UTC 2010


In message <20100102050843.GI3508 at acme.spoerlein.net>, Ulrich =?utf-8?B?U3DDtnJ
sZWlu?= writes:

>Sysinstall, fdisk, gpart
>and bsdlabel should all display some fat warning if partition/label
>alignment is not, say at 256kB (a common stripe size, right?) 

You overlook that MBR/Fdisk requires bootable slices to start at a
"track".  That means that the propper slice-alignmen typically
will be 8*63=504 sectors.

Unless you want to explore how many BIOS'es still are stupid about
this...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list