[OpenAFS] Client synchronization issues/Client caches are not being updated

Christof Hanke christof.hanke@rzg.mpg.de
Tue, 2 Mar 2010 11:17:05 +0100


--Boundary-00=_iWOjLBhFqS1bnld
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

Am Dienstag, 2. M=E4rz 2010 11:01:22 schrieb Ken Elkabany:
> I have six client machines all accessing a single openafs server. The
> server and five clients are running Ubuntu 9.10 with openafs 1.4.10. About
> 80% of the time when a client modifies files on the afs, the changes are
> not reflected on the other clients, even after the file has been closed (a
> zip file is unpacked in a directory, replacing all identically named
> files). If a new file is copied, often times the other clients will not s=
ee
> it. Sometimes, after a couple minutes, the files are appropriately update=
d.
> Oddly enough, the sixth client, which is running Ubuntu 9.04 with openafs
> 1.4.9, always has the changes properly reflected on it. However, I cannot
> guarantee that the openafs client version is the issue as the sixth client
> is not running in the same conditions (not in a virtual machine), and is
> also running external to the local area network of the other four clients.
> Is this expected behavior? I don't recall this being a problem when all o=
ur
> servers were on openafs 1.4.9. Is there a way to force the synchronizatio=
n?
>
This synchronization should happen automatically by the fileserver (using=20
"Callbacks"). For that to happen the fileserver must be able to talk to the=
=20
clients (UDP port 7001).=20
Check if you have a firewall on your clients  with Ubuntu 9.10  preventing=
=20
that.=20
Just a guess, I don't use Ubuntu.

Christof
> Thanks,
>
> Ken


--Boundary-00=_iWOjLBhFqS1bnld
Content-Type: text/html;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-=
html40/strict.dtd">
<html><head><meta name=3D"qrichtext" content=3D"1" /><style type=3D"text/cs=
s">
p, li { white-space: pre-wrap; }
</style></head><body style=3D" font-family:'Sans Serif'; font-size:10pt; fo=
nt-weight:400; font-style:normal;">
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Am Dienstag=
, 2. M=E4rz 2010 11:01:22 schrieb Ken Elkabany:</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; I have=
 six client machines all accessing a single openafs server. The</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; server=
 and five clients are running Ubuntu 9.10 with openafs 1.4.10. About</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; 80% of=
 the time when a client modifies files on the afs, the changes are</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; not re=
flected on the other clients, even after the file has been closed (a</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; zip fi=
le is unpacked in a directory, replacing all identically named</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; files)=
=2E If a new file is copied, often times the other clients will not see</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; it. So=
metimes, after a couple minutes, the files are appropriately updated.</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Oddly =
enough, the sixth client, which is running Ubuntu 9.04 with openafs</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; 1.4.9,=
 always has the changes properly reflected on it. However, I cannot</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; guaran=
tee that the openafs client version is the issue as the sixth client</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; is not=
 running in the same conditions (not in a virtual machine), and is</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; also r=
unning external to the local area network of the other four clients.</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Is thi=
s expected behavior? I don't recall this being a problem when all our</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; server=
s were on openafs 1.4.9. Is there a way to force the synchronization?</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt;</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">This synchr=
onization should happen automatically by the fileserver (using "Callbacks")=
=2E For that to happen the fileserver must be able to talk to the clients (=
UDP port 7001). </p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Check if yo=
u have a firewall on your clients  with Ubuntu 9.10  preventing that. </p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Just a gues=
s, I don't use Ubuntu.</p>
<p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma=
rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-u=
ser-state:0;"></p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Christof</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Thanks=
,</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt;</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Ken</p>
<p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma=
rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-u=
ser-state:0;"></p></body></html>
--Boundary-00=_iWOjLBhFqS1bnld--