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

James Masson james.masson at lmax.com
Fri Jul 9 08:48:31 PDT 2010



On 09/07/10 12:35, Luis Freitas wrote:
> Thomas and James,
>  
>    Usually the partition is aligned to the Cylinder boundary. In the
> case of a LUN, the cylinder bondary might have no sense at all? Funny, I
> never tought about this before.
>  

In the old days C/H/S geometry used to be relevant, and fdisk used this information when
partitioning. Now it's pretty much irrelvant, and since exported LUNs don't present this data, fdisk
uses a default that's pretty hostile to performance.

It's not a huge issue with OCFS2 data, because you can always manually change the alignment
afterwards. With virtual machines and kick-starts, it's very relevant, as it's awkward to change the
partition layout of a VM after the fact.

I've had this raised as a bug through an enterprise support contract with Redhat for at least a
year. Microsoft have had sane defaults (1Mb offset for partition table) for a while now.

James M

The information in this e-mail and any attachment is confidential and is intended only for the named recipient(s). The e-mail may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not a named recipient please notify the sender immediately and delete any copies of this message. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Any view or opinions presented are solely those of the author and do not necessarily represent those of the company.



More information about the Ocfs2-users mailing list