[Ocfs-users] coreutils-4.5.3-28 causing duplication?

Sheridan, Matt Matt.Sheridan at McKesson.com
Wed Mar 10 11:38:50 CST 2004


Here's a bit of a strange one. I hunted through the ocfs-users archives,
but didn't see any mention of this, so here goes...
 
Using coreutils 4.5.3-27 on RHAS 3, the utilities perform as expected
against non-OCFS volumes:
 
$ rpm -q coreutils
coreutils-4.5.3-27
 
# cat a 3 line test file. Works as expected
$ cat /var/tmp/file
line1
line2
line3
 
# copy that file. Works as expected
$ cp /var/tmp/file /var/tmp/file2
 
$ ls -l /var/tmp/file*
-rw-r--r--    1 oracle   dba            18 Mar  9 10:59 /var/tmp/file
-rw-r--r--    1 root     root           18 Mar 10 09:09 /var/tmp/file2

########################################################################
#####
But, after upgrading to 4.5.3-28, those same operations seem to be doing
things twice:
 
$ rpm -Uv coreutils-4.5.3-28.i386.rpm
Preparing packages for installation...
coreutils-4.5.3-28
 
$ rpm -q coreutils
coreutils-4.5.3-28
 
# using 4.5.3-28, output is duplicated
$ cat /var/tmp/file
line1
line2
line3
line1
line2
line3
 
$ cp /var/tmp/file /var/tmp/file2
cp: overwrite `/var/tmp/file2'? y
 
# using 4.5.3-28, file size has been doubled
$ ls -l /var/tmp/file*
-rw-r--r--    1 oracle   dba            18 Mar  9 10:59 /var/tmp/file
-rw-r--r--    1 root     root           36 Mar 10 09:10 /var/tmp/file2

# for reference...
$ uname -a
Linux andesite 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686
i686 i386 GNU/Linux
 
$ ls -l
-rw-r--r--    1 oracle   dba       2437173 Mar  9 15:50
coreutils-4.5.3-27.i386.rpm
-rw-r--r--    1 oracle   dba       2439368 Mar  9 15:36
coreutils-4.5.3-28.i386.rpm
 
 
 
After downgrading back to -27, everything works fine again.
 
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?
 
  _____  

Matt Sheridan

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs-users/attachments/20040310/540acca4/attachment.htm


More information about the Ocfs-users mailing list