<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>Here's a bit 
of a strange one.&nbsp;<FONT face="Courier New" size=2><SPAN 
class=665432416-10032004>I hunted through the ocfs-users archives, but didn't 
see any mention of this, so here goes...</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2><FONT 
face="Courier New" size=2><SPAN 
class=665432416-10032004></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2><FONT 
face="Courier New" size=2><SPAN class=665432416-10032004></SPAN></FONT>Using 
coreutils 4.5.3-27 on RHAS 3, the utilities perform as expected against non-OCFS 
volumes:</FONT></SPAN></DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ rpm -q 
coreutils<BR>coreutils-4.5.3-27</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2># cat a 3 
line test file. Works as expected<BR>$ cat 
/var/tmp/file<BR>line1<BR>line2<BR>line3</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2># copy that 
file. Works as expected<BR>$ cp /var/tmp/file /var/tmp/file2</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ ls -l 
/var/tmp/file*<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 oracle&nbsp;&nbsp; 
dba&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 
Mar&nbsp; 9 10:59 /var/tmp/file<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 
root&nbsp;&nbsp;&nbsp;&nbsp; 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 Mar 10 09:09 
/var/tmp/file2<BR></FONT></SPAN></DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2><SPAN 
class=665432416-10032004><FONT face="Courier New" 
size=2>#############################################################################<BR></FONT></SPAN>But, 
after upgrading to 4.5.3-28, those same operations seem to be doing things 
twice:</FONT></SPAN></DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ rpm -Uv 
coreutils-4.5.3-28.i386.rpm<BR>Preparing packages for 
installation...<BR>coreutils-4.5.3-28</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ rpm -q 
coreutils<BR>coreutils-4.5.3-28</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2># using 
4.5.3-28, output is duplicated<BR>$ cat 
/var/tmp/file<BR>line1<BR>line2<BR>line3<BR>line1<BR>line2<BR>line3</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ cp 
/var/tmp/file /var/tmp/file2<BR>cp: overwrite `/var/tmp/file2'? 
y</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2># using 
4.5.3-28, file size has been doubled<BR>$ ls -l 
/var/tmp/file*<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 oracle&nbsp;&nbsp; 
dba&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 
Mar&nbsp; 9 10:59 /var/tmp/file<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 
root&nbsp;&nbsp;&nbsp;&nbsp; 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36 Mar 10 09:10 
/var/tmp/file2<BR></FONT></SPAN></DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2># for 
reference...</DIV></FONT></SPAN>
<DIV><FONT face="Courier New" size=2>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ uname 
-a<BR>Linux andesite 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686 
i386 GNU/Linux</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>$ ls 
-l<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 oracle&nbsp;&nbsp; 
dba&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2437173 Mar&nbsp; 9 15:50 
coreutils-4.5.3-27.i386.rpm<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 oracle&nbsp;&nbsp; 
dba&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2439368 Mar&nbsp; 9 15:36 
coreutils-4.5.3-28.i386.rpm</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=665432416-10032004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN 
class=665432416-10032004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=665432416-10032004>After 
downgrading back to -27, everything works fine again.</SPAN></FONT></DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=665432416-10032004><FONT face="Courier New" size=2>Any ideas? 
My expectation was the these utilities would perform in the usual fashion 
against non-OCFS volumes but were enhanced to work with OCFS files via the 
o_direct flag. Is that not a correct assumption?</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><!-- Converted from text/rtf format -->
<DIV align=left><FONT face="Courier New" size=2>
<HR>
</FONT></DIV>
<DIV><SPAN lang=en-us><FONT face="Courier New" size=2>Matt 
Sheridan<BR></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>