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

Joel Becker Joel.Becker at oracle.com
Fri Jul 9 12:10:29 PDT 2010


On Fri, Jul 09, 2010 at 04:29:59PM +0200, Thomas.Zimolong at bmi.bund.de wrote:
> > parted -- /dev/sdc mklabel gpt mkpart ext2 2048s -34s
> 
> Cool, I'll have to put that one somewhere into my "Library" :-)
> 
> > This gives you a partition aligned on a 1MiB boundary, which I figured
> > was enough for any reasonable current or future alignment need.
> 
> 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.

	Note that some of the storage topology stuff appearing in sysfs
will allow partitioners and mkfs tools to smartly align their disks
going forward.

Joel

-- 

Life's Little Instruction Book #173

	"Be kinder than necessary."

Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-users mailing list