[OpenAFS] Connection time out, why??

Paul Blackburn mpb@est.ibm.com
Fri, 22 Nov 2002 07:29:20 +0000


Hello Klaas,

I do not understand why you are creating RW and RO
mountpoints for individual volumes.

You only need to create one RW mountpoint at the
root of your cell.
This is sometimes referred to as the "dot path".

Suppose you create a volume "you.like".

vos create myserver a you.like
fs mkm /afs/.@cell/where/ever/you/like you.like

You then need to "vos release" whichever parent volume that
is ReadOnly replicated. In this example, assume:
/afs/@cell                  replicated volume "root.cell"
/afs/@cell/where            not replicated
/afs/@cell/where/ever       not replicated
/afs/@cell/where/ever/you   not replicated

So, you would need to: "vos release root.cell"
in order to make visible the mountpoint for
/afs/@cell/where/ever/you/like

Next, make a RO replica of "you.like" and release it:
vos addsite myserver a you.like
vos release you.like

Then, you put data into the ReadWrite mountpoint
for volume "you.like" by copying to:
/afs/.@cell/where/ever/you/like

Remember to: "vos release you.like" in order for that data
to appear the the (normal RO) path:
/afs/@cell/where/ever/you/like

cd /afs/.@cell/where/ever/you/like takes you to the ReadWrite.
cd /afs/@cell/where/ever/you/like takes you to the ReadOnly
(if there is a ReadOnly replica).

In the example you showed it appears as if you are trying
to make something like:
/afs/.@cell/.where/.ever/.you/.like

You don't need to.

I hope this helps.
--
cheers
paul                     http://acm.org/~mpb

Klaas Hagemann wrote:

>Hi,
>
>i am writing skripts for automatic generating volumes and mount-points.
>So i have a volume group with the mount .group as reas-write and group as
>readonly. Now i want to create more Volumes and do the following:
>vos create localhost a  group.test -maxquota 10000
>vos addsite localhost a -id group.test
>fs mkmount .group/.test group.test -rw
>fs mkmount .group/test group.test.readonly
>vos release group
>vos release group.test
>
>when i then try to cd in group/test, i get "connection time out", but when i
>try to cd in group/.test, it works fine. The same happens to me in .group.
>
>Has anybody any idea??
>I do not use nat or something else and the maschine is client, fileserver
>and dbms together.
>
>I use openafs 1.2.7 on Suse Linux
>
>Thanks, Klaas
>
>
>_______________________________________________
>OpenAFS-info mailing list
>OpenAFS-info@openafs.org
>https://lists.openafs.org/mailman/listinfo/openafs-info
>  
>