Coda File System

Re: cfs flushcache .. what to use to flush venus contents to server?

From: Brad Clements <bkc_at_murkworks.com>
Date: Thu, 25 Jan 2001 16:06:07 -0500
On 25 Jan 2001, at 15:36, Jan Harkes wrote:

> There are no pending operations and we are in fully connected operation,
> the store operations to the server must have succeeded and the client
> thinks the server already has the data. ....

Is it possible that the server *does* have the data, but my other clients 
have failed to cache the attributes correctly?

What about these errors?

14:28:14 ViceValidateAttrs: (1000004.2.2) failed ()!
14:28:14 ViceValidateAttrs: (1000004.4.3) failed ()!
14:28:14 ViceValidateAttrs: (1000004.6.4) failed ()!
14:28:14 ViceValidateAttrs: (1000004.8.5) failed ()!
14:28:14 ViceValidateAttrs: (1000004.a.6) failed ()!
14:28:14 ViceValidateAttrs: (1000004.c.7) failed ()!
14:28:14 ViceValidateAttrs: (1000004.e.8) failed ()!
14:28:14 ViceValidateAttrs: (1000004.10.9) failed ()!
14:28:14 ViceValidateAttrs: (1000004.12.a) failed ()!
14:28:14 ViceValidateAttrs: (1000004.14.b) failed ()!
14:28:14 ViceValidateAttrs: (1000004.16.c) failed ()!

These look like the large files I was writing from client to server.

> Are you using reiserfs on the client?

No, its a RH 7 out-of-the-box system,after full update. 

> > 12:19:15 Cache Overflow: (1518, -4564)
> 
> And this is right after the point where the client has tried to throw
> out anything that is not referenced to get some free space. Do you have
> files that are be themselves already larger than the available cache size?


No.

A du of /usr/coda/venus.cache is:

[root_at_vondane]# du venus.cache/
8	venus.cache/00/00/00
44676	venus.cache/00/00/01
44688	venus.cache/00/00
44692	venus.cache/00
4	venus.cache/FF/FF/FE
8	venus.cache/FF/FF
12	venus.cache/FF
44716	venus.cache


(I had selected a 40000 size cache during venus-setup)

[root_at_vondane]# cfs lc
/coda: 7f000000
  .
  ./projects
  ./projects/mpg

/coda/projects/mpg: 7f000003
  .
  ./Bette Midler - Bette/Bette Midler - That's How Heartaches are Made.mp3
  ./Bette Midler - Bette/Bette Midler - In These Shoes.mp3
  ./Bette Midler - Bette/Bette Midler - God Give Me Strength.mp3
  ./Bette Midler - Bette/Bette Midler - Just My Imagination (Running Away With Me).mp3
  ./Bette Midler - Bette/Bette Midler - Love TKO.mp3
  ./Bette Midler - Bette/Bette Midler - Moses.mp3
  ./Bette Midler - Bette/Bette Midler - Nobody Else But You.mp3
  ./Bette Midler - Bette/Bette Midler - Color of Roses.mp3
  ./Bette Midler - Bette/Bette Midler - Bless You Child.mp3
  ./Bette Midler - Bette/Bette Midler - When Your Life Was Low.mp3
  ./Bette Midler - Bette/Bette Midler - Shining Star.mp3
  ./Bette Midler - Bette

???: 1000001

???: 1000004

???: ffffffff

[root_at_vondane]# 13:54:18 Cache Overflow: (1650, -4553)
13:54:48 Cache Overflow: (1650, -4553)
13:55:23 Cache Overflow: (1650, -4553)
13:55:53 Cache Overflow: (1650, -4553)
13:56:23 Cache Overflow: (1650, -4553)
13:56:53 Cache Overflow: (1650, -4553)
13:57:23 Cache Overflow: (1650, -4553)
13:57:53 Cache Overflow: (1650, -4553)
[root_at_vondane]# 


Interesting, I can understand getting a cache overflow now, since the 
cache *is* full now.


(oops, wrong time.. 13:56 is really 15:56)



Brad Clements,                bkc_at_murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com               AOL-IM: BKClements
Received on 2001-01-25 16:01:29