[Ocfs2-users] partition offset/alignment on SAN devices.

Patrick J. LoPresti patl at patl.com
Fri Jul 9 08:37:16 PDT 2010


On Fri, Jul 9, 2010 at 7:29 AM,  <Thomas.Zimolong at bmi.bund.de> wrote:
>
> Hm, as far as I understood, it's not a matter of "reserving enough space for
> alignment", but the alignment has to exactly match the stripe size of your
> shared disk, in our case, an EMC CLARiion LUN.

Yes, the alignment needs to match.  But if a partition is aligned on a
1MiB boundary, it is also aligned on a 512k boundary, a 256k boundary,
a 128k boundary, a 64k boundary...

In general, an X-byte boundary is also a Y-byte boundary for any Y
dividing X.  So I used a large-ish power of 2 in my scripts so that I
never have to look at them again.  :-)

 - Pat



More information about the Ocfs2-users mailing list