Coda File System

CODA and production use

From: Pierre LEBRECH <pierre.lebrech_at_laposte.net>
Date: Tue, 25 Sep 2007 12:56:31 +0200
Hello,

I'm planning to (I would like to) put a CODA FS in production use in an LVS environment.

Is that really a foolish idea or is it possible?

Well, as you have seen in the list, I have little problems with "cfs mkmount", or sometimes with ls or pwd (for unknown
reasons). That's why I'm a bit nervous to put it in production use. See below as well.

There is one thing I would like to see :

* the increase of the speed during the synchronization between coda clients




*Hum.* I've just done one more test. I've just modified a file on one client node. 4 minutes later, I cannot see the
updated file on the second node. Well, this kind of test has already been done in the past and the synchronization has
been OK a few seconds later. Today, as I write, 6 minutes later, synchronization is not done yet! Why?

Oops!! I've just seen that venus died on my second client node (node2) a few days ago! /coda does not exist anymore. So
I'm restarting venus after deleting /var/run/coda-client.pid. Oops again! venus tells me that /coda already exist but I
can't see it. I umount it with "umount -l /coda" and I run "venus -init". OK, this time it is OK. But, the
synchronization of my previous file is not done yet. Perhaps there's something wrong with node1 as well.

So, I'm trying to restart venus on node1. OK. Oh, big oops! The modification I've done on my little file was lost. So
now, this little file is the same on my 2 client nodes, but I've lost the updated version of this file on node1! Why?

Now I'm updating once more my little test textfile on node1. And I'm looking at it on node2. 50 seconds later I can see
it, at last!! Note : the ls command took many many seconds to put me back on the prompt.

Now the 2 client nodes are well synchronized, at last.


As you can see. I can't put all this before understanding what's going wrong.


How can I be sure of my setup which was done by a colleague of mine who has left the office now?

Thanks








PS : Debian Linux with kernel 2.6.20


###################################### venus output on node1
Date: Tue 09/25/2007

12:40:51 Coda Venus, version 6.9.2
12:40:51 /var/lib/coda/LOG size is 2705364 bytes
12:40:51 /var/lib/coda/DATA size is 10821456 bytes
12:40:51 Initializing RVM data...
12:40:51 ...done
12:40:51 Loading RVM data
12:40:51 Starting RealmDB scan
12:40:51        Found 1 realms
12:40:51 starting VDB scan
12:40:51        0 volume replicas
12:40:51        0 replicated volumes
12:40:51        0 CML entries allocated
12:40:51        0 CML entries on free-list
12:40:51 starting FSDB scan (4166, 100000) (25, 75, 4)
12:40:51        0 cache files in table (0 blocks)
12:40:51        4166 cache files on free-list
12:40:52 starting HDB scan
12:40:52        0 hdb entries in table
12:40:52        0 hdb entries on free-list
12:40:52 Mounting root volume...
12:40:52 Venus starting...
12:40:52 /coda now mounted.
######################################

###################################### venus output on node2
Date: Tue 09/25/2007

12:27:27 Coda Venus, version 6.9.2
12:27:27 /var/lib/coda/LOG size is 2705364 bytes
12:27:27 /var/lib/coda/DATA size is 10821456 bytes
12:27:27 Initializing RVM data...
12:27:27 ...done
12:27:27 Loading RVM data
12:27:27 Starting RealmDB scan
12:27:27        Found 1 realms
12:27:27 starting VDB scan
12:27:27        0 volume replicas
12:27:27        0 replicated volumes
12:27:27        0 CML entries allocated
12:27:27        0 CML entries on free-list
12:27:27 starting FSDB scan (4166, 100000) (25, 75, 4)
12:27:27        0 cache files in table (0 blocks)
12:27:27        4166 cache files on free-list
12:27:27 starting HDB scan
12:27:27        0 hdb entries in table
12:27:27        0 hdb entries on free-list
12:27:27 Mounting root volume...
12:27:27 Venus starting...
12:27:27 /coda now mounted.
######################################
Received on 2007-09-25 07:03:45