<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I thought ocfs2 required the disk to be partitioned (super block
corruption).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Has this been fixed ?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
ocfs2-users-bounces@oss.oracle.com [mailto:ocfs2-users-bounces@oss.oracle.com] <b>On
Behalf Of </b>Luis Freitas<br>
<b>Sent:</b> Friday, July 09, 2010 7:36 AM<br>
<b>To:</b> ocfs2-users@oss.oracle.com<br>
<b>Subject:</b> Re: [Ocfs2-users] partition offset/alignment on SAN devices.<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<div>

<p class=MsoNormal>Thomas and James,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;&nbsp; Usually the partition is aligned to the
Cylinder boundary. In the case of a LUN, the cylinder&nbsp;bondary
might&nbsp;have no sense at all? Funny, I never tought about this before.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp; There are some tools that can overwrite&nbsp;a few
sectors on the&nbsp;start of the disk (lilo, grub, DOS fdisk), and expect the
disk to have a partition table, where these sectors are not used for this
reason. <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><br>
&nbsp;&nbsp; I don't know&nbsp;if OCFS2 has provisions for leaving this space
unused.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Regards,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Luis<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=1 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
&quot;Thomas.Zimolong@bmi.bund.de&quot; &lt;Thomas.Zimolong@bmi.bund.de&gt;<br>
<b>To:</b> james.masson@tradefair.com; ocfs2-users@oss.oracle.com<br>
<b>Sent:</b> Fri, July 9, 2010 11:24:38 AM<br>
<b>Subject:</b> Re: [Ocfs2-users] partition offset/alignment on SAN devices.<br>
</span><span style='font-size:10.0pt;font-family:"Courier New"'><br>
&gt; mkfs.ocfs2 -L SOMELABEL /dev/dm-10<br>
&gt; This 64k (32/128k whatever) issue is usually only a problem if you've used<br>
a fdisk to create a<br>
&gt; partition to put your data on. For hysterical reasons the first partition<br>
is created an arbitrary<br>
&gt; amount of kb into the disk. This almost never lines up with the LUN<br>
raid-stripe. Then the I/O going<br>
&gt; from app &lt;&gt; FS &lt;&gt; LUN &lt;&gt; disks overlaps block sizes -
causing unnecessary<br>
I/O through the chain and<br>
&gt; sub-optimal performance.<br>
<br>
Hi folks,<br>
<br>
we had that issue too with our CX4-480 and the guys from EMC telling us not<br>
to forget the alignment.<br>
<br>
So we first wondered how to automate this, because we'd have had to align the<br>
partitions on quite a few LUNs (more than 40).<br>
Since you'd have to use the expert options of fdisk, we did'nt find a quick<br>
solution with sfdisk, though with some further investigation there will<br>
surely be one.<br>
<br>
But in the end this was not necessary anyway. We specifically requested that<br>
at EMC and they confirmed, that alignment is only a point when using<br>
partitions at all. We don’t use partitions, so no todo.<br>
<br>
IMHO: Concerning the risk of destroying whatever is on the LUN: If someone<br>
thinks the LUN is unused, just because he/she sees no partition on it, isn't<br>
that more of &quot;a lack of diligence&quot;?<br>
We have a similar situation with ASM-devices: Even if you have a partition on<br>
it, it's not mountable (as there's some ASM data inside it and no FS). So<br>
you'd always have to check more than that to be sure, that the device is<br>
unused.<br>
<br>
Maybe you can clarify that with the vendor of your shared disks.<br>
<br>
Greetings,<br>
Thomas<br>
<br>
_______________________________________________<br>
Ocfs2-users mailing list<br>
<a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
http://oss.oracle.com/mailman/listinfo/ocfs2-users<o:p></o:p></span></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>