[OpenAFS] afsd dead / weird config

Christian evilninja@gmx.net
Sat, 15 Feb 2003 16:52:02 +0100


hello openafs-users,

i'm quiete new to OpenAFS, but not unix in general but i have some 
problems in setting up an AFS server in my home-LAN. i want to use AFS 
there, to accumuate (?) unused diskspace of some machines into one tree 
( /afs ).

i am using Debian GNU/Linux 3.0, with kernel 2.4.20 and OpenAFS patches 
applied. the openafs.o module was loaded with no errors (only licensing 
warnings), so i think kernel-space is prepared for afs issues.

there is a different approach of the debian packages of OpenAFS, so 
configuration-files are in /etc/openafs and not in /usr/vice/etc.
the cache is in /var/cache/openafs and is not a seperate partiotion yet, 
but i could do so if it is necessary. i'm explaing all this, because i 
think the init.d scripts of bosserver and afsd (client) are totally 
weird under debian: the openafs-fileserver (bos) is using parts of the 
client config and values are set in a circumstantial (?) way.

so i altered some switches and now afsd is started this way:


/usr/sbin/afsd -stat 2000 -d/usr/sbin/afsd -stat 2000 -dcache 800 
-daemons 3 -volumes 70 -verbose -logfile /var/log/openafs/afsd.log 
-mountdir /afs -afsdbcache 800 -daemons 3 -volumes 70 -verbose -logfile 
/var/log/openafs/afsd.log -mountdir /afs -afsdb

when started, 10 afsd processes show up (but cmd line says 3). also, 
afsd is not useable in any way. i can't terminate the processes and not 
even kill (-9) them! an strace bound to one of the processes is 
uninterruptable too, i have to kill (-9) the strace session.
but i can give you the output of "strace strace -p PID-OF-AN-AFSD", if 
this helps. note, that the afsd's are (Z)ombies and not eating cpu-cycles.

whereas the bosserver is running as "bosserver -noauth -log".
the -noauth  is ok here in this trusted network, since i was not able to 
create users / a cell in here. the debian configuration files were also 
unclear here, setting up a big CellDB with foreign cells only. now i 
have a file called CellServDB in /etc/openafs with

 >housecafe.de

in it and "ThisCell" with

housecafe.de

in it. (without the ">").

but...

root@sheep:/etc/openafs# bos status -server sheep.housecafe.de
bos: no such entry (getting tickets)
bos: running unauthenticated
root@sheep:/etc/openafs#


can you give me some advice what to do with that strange afsd and how to 
go on with this bosserver, not accepting any options?
sure, i'm crawling the usual documentation, but i didn't see these 
problems anywhere else. pointing me to the right docs would also help.


Thank you very much,
Christian.

--
############ Christian ##############
######## evilninja@gmx.net ##########
#####################################