<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Hi I am back ... with more questions.   I am currently running oracle 9205
with<br>
patches 3016968 (async io fix) & 2448994_9205 (direct io fix).  All my
data files<br>
are residing on an ext3 file system.<br>
<br>
/dev/tpccvg/tpcc_disks on /tpcc_disks type ext3 (rw)<br>
/dev/tpccvg/log1_1 on /log1_1 type ext3 (rw)<br>
/dev/tpccvg/log2_1 on /log2_1 type ext3 (rw)<br>
/dev/tpccvg/log3_1 on /log3_1 type ext3 (rw)<br>
/dev/tpccvg/log4_1 on /log4_1 type ext3 (rw)<br>
/dev/tpccvg/log5_1 on /log5_1 type ext3 (rw)<br>
/dev/tpccvg/log6_1 on /log6_1 type ext3 (rw)<br>
/dev/tpccvg/log7_1 on /log7_1 type ext3 (rw)<br>
/dev/tpccvg/log8_1 on /log8_1 type ext3 (rw)<br>
<br>
Whenever I tried to start up oracle with 'filesystemio_options=directio',
it failed <br>
to mount the dbase due to problem writing to the control file:<br>
<br>
LCK0 started with pid=16<br>
Wed Jul 14 13:12:57 2004<br>
ORA-00204: error in reading (block 1, # blocks 1) of controlfile<br>
ORA-00202: controlfile: '/tpcc_disks/control_001'<br>
ORA-27091: skgfqio: unable to queue I/O<br>
ORA-27072: skgfdisp: I/O error<br>
Linux Error: 22: Invalid argument<br>
Additional information: 1<br>
<br>
if I do a trace on the process, it shown that oracle is doing the correct
things by<br>
open the file with O_DIRECT flag:<br>
<br>
5997  <... rt_sigprocmask resumed> NULL, 8) = 0<br>
5990  open("/tpcc_disks/control_001", O_RDONLY|O_DIRECT|O_LARGEFILE <unfinished
...><br>
5997  semop(3342337, 0xbfff5108, 1 <unfinished ...><br>
<br>
is there any thing that I need to do for ext3 in order for O_DIRECT to work???
 Am I missing some<br>
library files on the OS kernel level?   MAny thanks in advance for your time.<br>
<br>
Regards,<br>
David <br>
<br>
<br>
<br>
Stephen C. Tweedie wrote:<br>
<blockquote type="cite"
 cite="mid1089386679.2856.84.camel@sisko.scot.redhat.com">
  <pre wrap="">Hi,

On Fri, 2004-07-09 at 13:22, Marc-Christian Petersen wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">ext3 supports direct i/o, but not in 2.4 mainline. It was added in 2.6. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">my system is running :
Red Hat Enterprise Linux AS release 3 (Taroon Update
2)
Kernel 2.4.21-15.ELsmp on an i686
      </pre>
    </blockquote>
    <pre wrap="">2.4-aa, 2.4-suse, 2.4-wolk tree and some others have it, 2.4-rh kernels do not 
have it.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
2.4 RHL kernels did not; RHEL 3 does, so 2.4.21-15.EL will have it.

--Stephen



_______________________________________________
Ext3-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ext3-users@redhat.com">Ext3-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/ext3-users">https://www.redhat.com/mailman/listinfo/ext3-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>