Coda File System

Re: Corrupt files [Re: coda-4.3.13 src: 64-bit safety problems]

From: Steven N. Hirsch <shirsch_at_ibm.net>
Date: Mon, 9 Feb 1998 19:37:59 -0500 (EST)
On Mon, 9 Feb 1998, J.A. Harkes wrote:

>   > As another data point, when copying the source over with 'cp -a 
> linux
>   > /coda/drc/linux', I see a complaint of 'Permission denied' after 
> each
>   > file.  However, I'm unsure what it's complaining about, as the 
> files are
>   > actually (with some spurious exceptions per above) placed on the 
> target.
> 
> Are the owner/group-id of the original files by any chance root.root??
> The cp -a also tries to copy timestamps/permissions AND uid/gid. And
> most likely you don't have or get permission to change the owner to root
> on a Coda fs.

No, the files are owned by myself.  

> BTW. When you're trying to compile the linux kernel on a coda partition
> you probably need to have the symlink /usr/src/linux -> /coda/src/linux.

Hmm.  I don't think this is actually necessary.

> As for the copying taking an hour:

>  I get a bandwidth of at least 250kb/s when running both the client and
>  server on a 486/66 with 16MB RAM and 30MB swap. Which results in
>  _copying_ a clean linux-2.1.85 kernel tree in around 3 minutes.

I'm working across a 10Mb/sec. ethernet, and it does take an hour.
Benchmarks show write bandwidth of ~400kB/sec., so something else
(permissions, metadata updates?) is eating the time.

Steve
Received on 1998-02-09 19:38:35