Coda File System

RE: How do I make CODA clients NOT write-disconnected

From: GiantWEB <matty_at_mail1.giantweb.com>
Date: Thu, 31 May 2001 19:41:02 -0400
yes the clients are getting connected fine but when I make a change to the
/coda dir
the only way other clients see the changes is if I run:  cfs writereconnect
(with tokens)

My problem is the following.. I have 1.5Gigs of contetn I need to get to the
server and replicated for each coda dir
on each client. I have run tests and found that the content does not sync
immiadly unless I invoke the above command.

I need that changed as I need content to be the same on all webservers
immediately when a change is updated to the Fileserver.

I tried to copy the 1.5 gigs of content from a clients /main to /coda and it
bails in the copy process.. WHY?

I deleted ALL files under coda and ran cfs writeconnect.. here is my boot up
and status:

Date: Fri 06/01/2001

07:27:45 /usr/coda/LOG size is 38729775 bytes
07:27:45 /usr/coda/DATA size is 154919100 bytes
07:27:45 Initializing RVM data...
07:27:47 ...done
07:27:47 Loading RVM data
07:27:47 starting VDB scan
07:27:47        1 volume replicas
07:27:47        0 replicated volumes
07:27:47        0 CML entries allocated
07:27:47        0 CML entries on free-list
07:27:50 starting FSDB scan (62500, 1500000) (25, 75, 4)
07:27:50        0 cache files in table (0 blocks)
07:27:50        62500 cache files on free-list
07:27:55 starting HDB scan
07:27:55        0 hdb entries in table
07:27:55        0 hdb entries on free-list
07:27:55 Initial LRDB allocation
07:27:55 Getting Root Volume information...
07:27:55 Venus starting...
07:27:55 /coda now mounted.


[root_at_shop3 /]# cfs lv /coda
  Status of volume 0x7f000000 (2130706432) named "mallcom-main"
  Volume type is ReadWrite
  Connection State is Connected
  Minimum quota is 0, maximum quota is unlimited
  Current blocks used are 4294897995
  The partition has 1830395 blocks available out of 1831104
  Write-back is disabled

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1              5747912   1307864   4148072  24% /
/dev/sda7              2688044        20   2551476   0% /logs
/dev/sda5              9076364   1529764   7085540  18% /main
Coda                   1500000         2   1406248   0% /coda


Thanks

MJW
-----Original Message-----
From: Jan Harkes [mailto:jaharkes_at_cs.cmu.edu]
Sent: Thursday, May 31, 2001 6:45 PM
To: GiantWEB
Cc: codalist_at_TELEMANN.coda.cs.cmu.edu
Subject: Re: How do I make CODA clients NOT write-disconnected


On Thu, May 31, 2001 at 06:32:06PM -0400, GiantWEB wrote:
> so that when I make changes to one /coda dir on client with token it
writes
> to all my clients the changes..?
>
> I looked at docs and there is nothing about this..
>
> I need to change the "Write-back is disabled" to enabled (I think):

No, enabling write-back would force your client to always be in
write-disconnected state.
>
> cfs lv /coda
>   Status of volume 0x7f000000 (2130706432) named "mallcom-main"
>   Volume type is ReadWrite
>   Connection State is Connected
			^^^^^^^^^
See, you are perfectly connected.

>   Minimum quota is 0, maximum quota is unlimited
>   Current blocks used are 4294939384
			    ^^^^^^^^^^
This is strange, the client (or maybe server, I don't know) believes
that we have -27911KB in use in the volume, which should never happen.

Maybe the changes actually did get to the server and the problem is
really with the other client not seeing the updates?

Jan
Received on 2001-05-31 19:41:44
Binary file ./codalist-2001/3380.html matches