Coda File System

Re: coda-client questions

From: Czuczy Gergely <czuczy_at_publishing.hu>
Date: Wed, 27 Jun 2007 12:36:38 +0200
On Tue, 26 Jun 2007 16:11:12 -0400
Jan Harkes <jaharkes_at_cs.cmu.edu> wrote:

> On Tue, Jun 26, 2007 at 03:24:06PM +0200, Gergely Czuczy wrote:
> > I've tried to set up the coda client according to
> > http://coda.wikidev.net/Quick_Client_Action but I've hit some
> > unexpected things.
> > 
> > First, the article tells to "venus-setup realm", but I've got no
> > executables "venus-setup" and no such files around. I've got
> > packages installed from the coda sources, exactly these:
> 
> Debian (and Ubuntu) don't have venus-setup, you can use
> 
>     dpkg-reconfigure coda-client.
done.

> 
> I guess I could include a trivial venus-setup script that just calls
> dpkg-reconfigure coda-client.
> 
> > # cfs lv /coda/testserver.coda.cs.cmu.edu
> > /coda/testserver.coda.cs.cmu.edu: No such file or directory
> > 
> > I guess something isn't going as it should. What am I doing wrong
> > here? How could this be fixed?
> 
> I don't know what is wrong, as there is a lot going on in the
> background.
> 
> Can you resolve testserver.coda to an IP address,
> 
>     dig -t a testserver.coda.cs.cmu.edu
Works: 
;; QUESTION SECTION:
;testserver.coda.cs.cmu.edu.    IN      A

;; ANSWER SECTION:
testserver.coda.cs.cmu.edu. 193 IN      CNAME
telemann.coda.cs.cmu.edu. telemann.coda.cs.cmu.edu. 193   IN
A       128.2.194.223


> 
> Can you ping testserver.coda (i.e. is it even reachable),
> 
>     ping -c 1 testserver.coda.cs.cmu.edu
64 bytes from TELEMANN.CODA.CS.CMU.EDU (128.2.194.223): icmp_seq=1
ttl=46 time=138 ms

> 
> Can you send packets to the codasrv port and receive the replies,
> 
>     rpc2ping testserver.coda.cs.cmu.edu
>     (I think rpc2ping is actually part of the coda-server package).
RPC2 connection to testserver.coda.cs.cmu.edu:2432 failed with
RPC2_NOBINDING (F).

I needed to allow not just TCP connections to that box, now it shows:
# rpc2ping testserver.coda.cs.cmu.edu
RPC2 connection to testserver.coda.cs.cmu.edu:2432 successful.

however:
# cfs lv /coda/testserver.coda.cs.cmu.edu
/coda/testserver.coda.cs.cmu.edu: No such device or address

> Can you get the volume information for the root volume,
> 
>     getvolinfo testserver.coda.cs.cmu.edu /
# getvolinfo testserver.coda.cs.cmu.edu /
RPC2 connection to testserver.coda.cs.cmu.edu:2432 successful.
Returned volume information for /
        VolumeId 7f000000
        Replicated volume (type 3)

        Type0 id 0
        Type1 id 0
        Type2 id 0
        Type3 id 7f000000
        Type4 id 0

        ServerCount 1
        Replica0 id 01000001, Server0 128.2.194.223
        Replica1 id 00000000, Server1 0.0.0.0
        Replica2 id 00000000, Server2 0.0.0.0
        Replica3 id 00000000, Server3 0.0.0.0
        Replica4 id 00000000, Server4 0.0.0.0
        Replica5 id 00000000, Server5 0.0.0.0
        Replica6 id 00000000, Server6 0.0.0.0
        Replica7 id 00000000, Server7 0.0.0.0

        VSGAddr 0

The firewall shows no dropped packages that's going to the testserver.

> If that all works, then the client _should_ be able to resolve and
> mount the root of the testserver.coda realm, if any of these fail
> then that would indicate that there is a DNS, routing or firewall
> problem in the path between your client and testserver.coda.
So I've found a misconfig in the firewall, but it's still not working
after fixing that. What should I check next?


-- 
Üdvözlettel,

Czuczy Gergely
Publishing Factory Kft
http://www.publishing.hu/
Tel: +36-20-9554512
Received on 2007-06-27 06:40:03