[OpenAFS] Trouble starting OpenAFS

Geoff Silver geoff@uslinux.net
Wed, 21 Mar 2001 12:00:10 -0500 (EST)


Hello everyone,
	I'm finally getting around to setting up OpenAFS under RedHat
Linux.  It seems to start to load the servers fine, but chokes when
starting the cache manager 'afsd'.  My error is below.  I haven't been
able to figure out anything from the logs (since there isn't much, even
with the -verbose option).  I'm trying to use the default 'LARGE' setting
in /etc/sysconfig/afs (or afs.conf, depending on your system), and the
default cache size of 100 Megabytes.  I'd like to eventually use a LOT
more disk cache, since it's on a moderately slow link, but I'd be happy to
get things up and running for now.

Starting AFS services.....
+ /usr/vice/etc/afsd LARGE
afsd: WARNING: cache probably too small!
afsd: malloc() failed for cache file inode table with -25 entries.
+ test -f /usr/afsws/etc/inetd.conf -a -x /usr/afsws/etc/inetd.afs

I've noticed if I start afsd manually, entering all the options, afsd will
start, but I get the following error:
	afsd: No check server daemon in client.
At which time afsd becomes defunct and turns zombie on me.  I've also
noticed that this method won't load the libafs module.

If I load the libafs module first, and then attempt to start afsd
manually, afsd doesn't die, and 'dmesg' reports 'Starting AFS cache
scan...', but /afs doesn't get mounted, and I can't mount it manually.  If
I try, I get the error:
	[root@agent86 /]# mount -t afs agent86:AFS /afs
	mount: wrong fs type, bad option, bad superblock on AFS,
       		or too many mounted file systems
and then in /var/log/messages I get the error:
	Mar 21 10:50:19 agent86 kernel: You must reload the AFS kernel
	extensions before remounting AFS.

Ideas are greatly appreciated.  I'm kind of at a sticking point right now,
and haven't been able to find anything in the three binders of AFS docs I
have on my desk.  Thanks!

-- 
Geoff Silver					<geoff at uslinux dot net>
"Note To Self: Remember to put something witty here later..."