[OpenAFS] afsd (Linux 3.8.13, OpenAFS 1.6.5) crashes after reboot with reduced cache size

Volkmar Glauche volkmar.glauche@uniklinik-freiburg.de
Fri, 20 Feb 2015 16:01:24 +0100


Dear all,

to reduce RAM consumption on my AFS clients, I reduced the cache size  
from 200000000 blocks to 50000000 by setting command line option  
-blocks.

Initially, I did not clear the cache partition before rebooting the  
machine. After reboot, afsd seemed to hang during its initial cache  
scan. The only way to boot successfully was to wipe the cache  
partition manually before starting afsd with the reduced cache size.

I'm sure it would not make much sense to keep cache entries in such a  
reduced cache, but maybe there might be a way for afsd to detect  
mismatches between cache parameters and existing disk layout more  
gracefully?

Best,

Volkmar

-- 
Freiburg Brain Imaging
http://fbi.uniklinik-freiburg.de/
Tel. +761 270-54110
Fax. +761 270-53100