AFS on FreeBSD 8?

Jan Henrik Sylvester me at janh.de
Tue May 18 17:54:52 UTC 2010


On 05/18/10 18:10, Benjamin Kaduk wrote:
 > opt_global.h should be coming from your kernel's build tree ...

Yeah, sorry, I asked the same question before. (I never did a buildworld 
or buildkernel on this machine after installing from the release build 
and using freebsd-update.) I try to remember next time.

> On Tue, 18 May 2010, Jan Henrik Sylvester wrote:
>> I have upgraded almost all of my machines from i386 to amd64 and would
>> like to repeat the OpenAFS testing -- even though you suspect it is
>> SMP, which applies to all machines available to me.

On amd64, the listing of the directories was instant unlike on i386. 
Reading (small) files caused no problems, but I was able to crash the 
machine accessing some weird entry (some object that OpenAFS on Linux 
shows with "?" for the file permissions) and -- more realistically -- 
deadlock all access to afs upon trying to copy a large file to afs.

> I expect that you will find AFS more usable if you set
> kern.smp.disabled=1 in /boot/loader.conf, which will make your machine
> effectively single-processor.

I just tried that and copying a large file to afs caused a deadlock of 
afs, too. I guess it is not just SMP.

I have not tried copying smaller files or starting afsd with different 
parameters than suggested in the ports README (-dynroot -fakestat-all 
-afsdb -memcache -daemons 4).

Cheers,
Jan Henrik


More information about the freebsd-afs mailing list