Coda File System

Writing files into coda causing corruption

From: Dr A V Le Blanc <>
Date: Sun, 23 Apr 2000 15:36:35 +0100
I'm having a problem with corrupt files in coda.  Here is a
simple example:

owen 15:31:15> cd /coda/projects/coda/
owen 15:31:24> ll
total 1964
-rw-------   1 zlsiial  nogroup   2001920 Apr 21 23:31 coda.sdd
owen 15:31:25> cp -p ~/coda.sdd .
owen 15:31:43> ll coda.sdd
-rw-------   1 zlsiial  sys             0 Apr 23 08:02 coda.sdd
owen 15:31:45> rm coda.sdd
owen 15:31:49> cp -p ~/coda.sdd .
owen 15:32:01> ll coda.sdd
-rw-------   1 zlsiial  nogroup   2003456 Apr 23 08:02 coda.sdd

Note that I am trying to write to an existing file, to which I
do have write access.  The result is empty.  But if I delete the
file, then copy to it, it works.

This seems to happen more or less always.  I am using coda-5.3.6
on a Linux machine with kernel 2.3.99-pre5 and glibc 2.1.3.
The servers are similar machines, but running kernel 2.2.14.

Has anyone else seen such problems?

     -- Owen
Received on 2000-04-23 10:51:30