Coda File System

Re: cfs wd problems (was Coda vs NFS)

From: Peter J. Braam <braam_at_cs.cmu.edu>
Date: Thu, 17 Sep 1998 14:28:35 -0400 (EDT)
Brilliant - this is anew bug.  Jan will fix it.  :) - he is not here until
Monday.

- Peter -

On Thu, 17 Sep 1998, Troy Benjegerdes wrote:

> On Wed, 16 Sep 1998, Peter J. Braam wrote:
> 
> > Troy,
> > 
> > Whoops: I think you have hosed your volume (I _did_ warn you to first make
> > the cache bigger).   This is perhaps the buffer cache corruption which
> > will be gone in 4.8.
> > 
> > What I would do is 
> > 
> > 1. copy valuable stuff elsewhere - on client
> > 2. purgevol_rep volname 
> > 3. createvol_rep .........
> 
> Did that, and set both clients cache size to 400000. Then I tried did
> 'cfs wd' and
> 'tar zxvf /tmp/linux-2.1.121.tar.gz'
> 
> Partway through the untarring, the linux directory turned into a file,
> causing the rest of the tar to fail.
> [troybenj_at_mos11 test]$ ls -l
> total 0
> -rw-r--r--   1 troybenj 65534           0 Sep 17 07:27 linux  
> 
> Now, I just did 'cfs wr', and it turned back into a directory...
> Is this a known bug, or did I just stumble across something new?
> 
> > 
> > - Peter -
> > 
> > On Wed, 16 Sep 1998, Troy Benjegerdes wrote:
> > 
> > > On Wed, 16 Sep 1998, Peter J. Braam wrote:
> > > 
> > > > Yes, this is a known factor of 50 slower.  But try it after 
> > > > 
> > > > cfs wd (make your cache large first).  I think you'll be pretty impressed.
> > > > 
> > > > - Peter -
> > > > 
> > > 
> > > Well, it is faster, but I prefer correct over fast ;)
> > > 
> > > I first tried this trick with the original 30 MB cache and tried to rm -rf
> > > the original linux tree I untarred. It was quite fast until I started
> > > getting 'no space left on device' errors. So, thinking the cache was to
> > > small I re-inited venus with a 100MB cache, and the rm worked ..
> > > 
> > > Now I get these errors:
> > > I don't know where the original error was (it scrolled by too fast)
> > > 
> > > (and yes, I have clog'd in and have tokens..)
> > > 
> > > tar: linux/include/asm-arm/limits.h: Could not create file: Not a directory
> > > linux/include/asm-arm/vga.h
> > > tar: linux/include/asm-arm/vga.h: Could not create file: Not a directory
> > > linux/include/asm-arm/mm-init.h
> > > tar: linux/include/asm-arm/mm-init.h: Could not create file: Not a directory
> > > linux/include/asm-arm/mman.h 
> > > tar: linux/include/asm-arm/mman.h: Could not create file: Not a directory
> > > linux/include/asm-arm/param.h       
> > > 
> > > I haven't so far been able to get cfs wd working reliably. It seems to
> > > work for a small to medium amount of stuff, but not for large amounts of
> > > activity.
> > > 
> > > Any hints on what to do?
> > > 
> > > --------------------------------------------------------------------------
> > > | Troy Benjegerdes    |    troybenj_at_iastate.edu    |    hozer_at_drgw.net   |
> > > |    Unix is user friendly... You just have to be friendly to it first.  |
> > > | This message composed with 100% free software.    http://www.linux.org |
> > > --------------------------------------------------------------------------
> > > 
> > 
> 
> --------------------------------------------------------------------------
> | Troy Benjegerdes    |    troybenj_at_iastate.edu    |    hozer_at_drgw.net   |
> |    Unix is user friendly... You just have to be friendly to it first.  |
> | This message composed with 100% free software.    http://www.linux.org |
> --------------------------------------------------------------------------
> 
Received on 1998-09-17 14:30:03