<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi everyone<o:p></o:p></p>

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

<p class=MsoNormal>We have a problem when writing a some files to OCFS2 and I
hope perhaps some of you may be able to help.&nbsp; I&#8217;ll outline our
system first.<o:p></o:p></p>

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

<p class=MsoNormal>We have a Oracle RAC system about to go into service.&nbsp;
There are two DB nodes running Oracle Enterprise Linux 5u4 (64bit) with kernel
2.6.18-164.15.1.0.1.el5.&nbsp; ASM is handling all of the discs apart from Parallel
Concurrent Processing (PCP) which we have installed on an OCFS2 shared disc
between the two nodes.&nbsp; The RAC system is all working correctly, but we
are experiences anomalies when certain files are written to the OCFS2 PCP
disc.&nbsp; Our OCFS2 install information is;<o:p></o:p></p>

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

<p class=MsoNormal>ocfs2-tools-1.4.4-1.el5.x86_64<o:p></o:p></p>

<p class=MsoNormal>ocfs2console-1.4.4-1.el5.x86_64<o:p></o:p></p>

<p class=MsoNormal>ocfs2-2.6.18-164.15.1.0.1.el5-1.4.7-1.el5.x86_64<o:p></o:p></p>

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

<p class=MsoNormal>Device: /dev/emcpoweri1<o:p></o:p></p>

<p class=MsoNormal>Mountpoint: /u03<o:p></o:p></p>

<p class=MsoNormal>Version: 0.90<o:p></o:p></p>

<p class=MsoNormal>Cluster Size: 8K<o:p></o:p></p>

<p class=MsoNormal>Block Size: 4K<o:p></o:p></p>

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

<p class=MsoNormal>OK, Now for the problem.&nbsp; When an Oracle Interface/Data
Load Program is started &nbsp;(this loads data into the db) through Concurrent
Manager, we see the log file for this operation (which stores errors etc.)
being create in the out directory under $APPLCSF/$APPLOUT, but it is always of
0Kb.&nbsp; We know this worked on one of our tests systems (using NFS rather
than OCFS2) so we know that the process works, we just don&#8217;t know why it doesn&#8217;t
work under OCFS2.<o:p></o:p></p>

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

<p class=MsoNormal>&nbsp;In order to try and narrow the problem down, we started
to examine the tmp directory at $APPLPTMP (also on the OCFS2 disc) and we could
see the file being written to the tmp directory successfully, &nbsp;but at the
point where the file is copied over to the to the out directory it somehow sets
the file to 0Kb and the contents of the log file is lost.&nbsp; As an experiment,
we moved the tmp directory to an ext3 partition and pointed $APPLPTMP to this
new location via a sym link... since doing this everything now works, and the fully
populated output log file is written to $APPLCSF/$APPLOUT (still on the OCFS2
partition) correctly. &nbsp;Unfortunately, we can&#8217;t leave the tmp
directory on the ext3 partition as it needs to be shared, so my question is
quite simple really, does anyone know why the action of writing the log file to
this temp directory should cause such an anomaly?<o:p></o:p></p>

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

<p class=MsoNormal>I&#8217;d greatly appreciate any input that can be given.<o:p></o:p></p>

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

<p class=MsoNormal>Thanks and Regards<o:p></o:p></p>

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

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

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

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

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

</div>

<br><br>
<P class=MsoNormal><SPAN style="mso-themecolor: text1"><FONT face=Arial color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">This email and any files transmitted with it are intended solely for the named recipient and may contain sensitive, confidential or protectively marked material up to the central government classification of &#8220;RESTRICTED" which must be handled accordingly.&nbsp; If you have received this e-mail in error, please immediately notify the sender by e-mail and delete from your system, unless you are the named recipient (or authorised</SPAN></SPAN></FONT><SPAN style="mso-themecolor: text1"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"> to receive it for the recipient) you are not permitted to copy, use, store, publish, disseminate or disclose it to anyone else.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P></SPAN>
<P class=MsoNormal><SPAN style="mso-themecolor: text1"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><BR>E-mail transmission cannot be guaranteed to be secure or error-free as it could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses and therefore the Council accept no liability for any such errors or omissions.&nbsp; <o:p></o:p></SPAN></FONT></P></SPAN>
<P class=MsoNormal><SPAN style="mso-themecolor: text1"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><BR>Unless explicitly stated otherwise views or opinions expressed in this email are solely those of the author and do not necessarily represent those of the Council and are not intended to be legally binding.<o:p></o:p></SPAN></FONT></P></SPAN>
<P class=MsoNormal><SPAN style="mso-themecolor: text1"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></SPAN>
<P class=MsoNormal><SPAN style="mso-themecolor: text1"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">All Council network traffic and GCSX traffic may be subject to recording and/or monitoring in accordance with relevant legislation.<BR><BR><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">South Tyneside Council, Town Hall &amp; Civic Offices, Westoe Road, South Shields, Tyne &amp; Wear, NE33 2RL, Tel: 0191 427 1717, Website: <A title=http://www.southtyneside.info/ href="http://www.southtyneside.info/"><FONT title=http://www.southtyneside.info/ color=black><SPAN title=http://www.southtyneside.info/ style="COLOR: black"><SPAN title=http://www.southtyneside.info/ style="mso-themecolor: text1">www.southtyneside.info</SPAN></SPAN></FONT></A></SPAN></SPAN></FONT><SPAN style="mso-themecolor: text1"><FONT color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black"><o:p></o:p></SPAN></FONT></P>
<P></SPAN>&nbsp;<FONT size=2></P>
<P>&nbsp;</P></FONT><FONT size=2>
<P>&nbsp;</P></FONT>
</body>

</html>