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

Joel Becker Joel.Becker at oracle.com
Thu Jul 8 11:17:45 PDT 2010


On Thu, Jul 08, 2010 at 01:18:30PM -0400, Enrique Sanchez wrote:
> I've been getting requests from the users that they want the OCFS2
> filesystems aligned to 64k boundaries, however, when I began the
> project, the dummy of me, created the OCFS2 filesystem on top of the
> whole disk device (no partition) for example, one of the SAN devices
> would show up as /dev/dm-10, I created the filesystem using the
> following command:
> 
> mkfs.ocfs2 -L SOMELABEL /dev/dm-10
> 
> is this supported, am I safe or did I just shoot myself in the foot,
> mouth & brain?

	It will certainly work.  The big danger is that you might fdisk
the drive without thinking, stomping on the ocfs2 volume.

Joel

-- 

"Copy from one, it's plagiarism; copy from two, it's research."
        - Wilson Mizner

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