[OpenAFS] Strange access problems on one client

Dirk Heinrichs dirk.heinrichs@online.de
Sun, 23 Sep 2007 09:54:31 +0200


--nextPart1212247.o34v5dWOk9
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello,

since I got a mail from another person who had this same problem, I would l=
ike=20
to follow up on this. Here's what I wrote back in august:

> I'm currently facing strange behaviour on one client machine, which
> looks like:
>
> heini@gondolin ~ % kinit
> Password for heini@ALTUM.DE:
> heini@gondolin ~ % aklog
> heini@gondolin ~ % tokens
>
> Tokens held by the Cache Manager:
>
> User's (AFS ID 1001) tokens for afs@altum.de [Expires Aug 13 16:42]
>    --End of list--
> heini@gondolin ~ % id
> uid=3D3D1001(heini) gid=3D3D100(users)
> Gruppen=3D3D10(wheel),12(mail),14(uucp),16=3D (cron),18
> (audio),19(cdrom),35(games),80(cdrw),100(users),441(plugdev),442(camera),=
45
>3 (hibernate)
> heini@gondolin ~ % LANG=3D"" ll /afs/altum.de
> ls: cannot access /afs/altum.de/music: No such file or directory
> ls: cannot access /afs/altum.de/cells: No such file or directory
> total 4.0K
> d????????? ? ?     ?        ?            ? cells/
> drwx------ 2 heini users 2.0K Jun 29 20:10 data/
> drwx------ 2 root  root  2.0K Sep  1  2006 home/
> d????????? ? ?     ?        ?            ? music/
> heini@gondolin ~ % LANG=3D"" ll /afs/altum.de/home
> ls: cannot access /afs/altum.de/home/heini: No such file or directory
> ls: cannot access /afs/altum.de/home/heike: No such file or directory
> ls: cannot access /afs/altum.de/home/chris: No such file or directory
> total 2.0K
> ??????????  ? ?    ?        ?            ? chris
> ??????????  ? ?    ?        ?            ? heike
> ??????????  ? ?    ?        ?            ? heini
> drwx------ 12 niki users 2.0K May 17 13:38 niki/
>
> When I login to another machine, everything is just fine:
>
> heini@gondolin ~ % slogin rohan
> heini@rohan's password:
> Linux rohan 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i586
>
> The programs included with the Ubuntu system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
> applicable law.
> Last login: Sun Aug 12 11:24:54 2007
>
> rohan% tokens
>
> Tokens held by the Cache Manager:
>
> User's (AFS ID 1001) tokens for afs@altum.de [Expires Aug 13 16:45]
>    --End of list--
> rohan% pwd
> /afs/altum.de/home/heini
> rohan% ll ..
> insgesamt 36K
> drwx------  12 chris users 2,0K 2007-05-17 13:43 chris/
> drwx------  21 heike users 4,0K 2006-09-01 20:08 heike/
> drwxr-xr-x 139 heini users  28K 2007-08-12 11:45 heini/
> drwx------  12 niki  users 2,0K 2007-05-17 13:38 niki/
> rohan% fs la .
> Access list for . is
> Normal rights:
>   heini rlidwka
> rohan% ll /afs/altum.de
> insgesamt 8,0K
> drwx------ 2 root  root  2,0K 2006-08-27 14:10 cells/
> drwx------ 2 heini users 2,0K 2007-06-29 20:10 data/
> drwx------ 2 root  root  2,0K 2006-09-01 17:41 home/
> drwx------ 3 heini users 2,0K 2007-03-24 16:08 music/
> rohan% id
> uid=3D1001(heini) gid=3D100(users)
> Gruppen=3D4(adm),20(dialout),24(cdrom),25
> (floppy),29(audio),30(dip),44(video),46(plugdev),100(users),104(scanner),=
11
>2 (netdev),113(lpadmin),115(powerdev),117(admin),1103024598
>
> OpenAFS version is 1.4.4 on both, Linux kernel version on gondolin is
> 2.6.22.1. I already tried to recreate the cache by creating a new
> filesystem on the cache manager partition, but that didn't help.

The problem seems to be independent of the server(s) or cell, because it al=
so=20
happens when I try to access public cells on the internet, running complete=
ly=20
unauthenticated, like:

heini@gondolin ~ % LANG=3D"" ll /afs/grand.central.org/
ls: cannot access /afs/grand.central.org/local: No such file or directory
ls: cannot access /afs/grand.central.org/software: No such file or directory
total 14K
drwxrwxrwx 3 root root 2.0K Jun 17  2004 archive/
drwxrwxrwx 2 root root 2.0K May  7  2006 cvs/
drwxrwxrwx 3 root root 2.0K Mar 21  2003 doc/
?????????? ? ?    ?       ?            ? local
drwxrwxrwx 2 root root 2.0K Jun 17  2005 project/
drwxrwxrwx 5 root root 2.0K Jan 30  2007 service/
?????????? ? ?    ?       ?            ? software
drwxrwxrwx 2 root root 2.0K Aug 25 00:15 user/
drwxrwxrwx 5 root root 2.0K Aug 24 20:10 www/

The client has been started like this:

/usr/sbin/afsd -fakestat -stat 2000 -dcache 800 -daemons 3 -volumes=20
70 -verbose -debug -dynroot

Which, except for -verbose and -debug, is the default I get from the Gentoo=
=20
init script, which sets the values based on the cache size.

Version info:

Kernel: Vanilla 2.6.22.7
OpenAFS: Gentoo Package openafs-kernel-1.4.4_p20070724-r2

Bye...

	Dirk

--nextPart1212247.o34v5dWOk9
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQBG9hu98NVtnsLkZ7sRAnI2AKCGu0Nj7Td46bws7jibhrmCxv16UACfatGV
g4wPul4W8VNhZEgDkKzpPx8=
=mh18
-----END PGP SIGNATURE-----

--nextPart1212247.o34v5dWOk9--