[OpenAFS] linux kernel options ?

Horst Birthelmer horst@riback.net
Thu, 25 Nov 2004 14:11:18 +0100


On Nov 25, 2004, at 12:09 PM, EC wrote:
>>>
>>> OK. BTW : machine has 400MB physical RAM, 1GB SWAP, 170MB physical 
>>> mem
>>> free.
>>> AFS cache is supposed to be ~100MB.
>>>
>>> Here's the log with -verbose -debug :
>>>
>>> Starting AFS services.....
>>> afsd: My home cell is 'localdomain.com'
>>> ParseCacheInfoFile: Opening cache info file 
>>> '/etc/openafs/cacheinfo'...
>>> ParseCacheInfoFile: Cache info file successfully parsed:
>>>         cacheMountDir: '/srv/afs'
>>>         cacheBaseDir: '/var/openafs/cache'
>>>         cacheBlocks: 100000
>>> afsd: Creating '/etc/openafs/AFSLog'
>>> CreateCacheFile: Creating cache file '/etc/openafs/AFSLog'
>>> afsd: 2400 inode_for_V entries at 0x8074728, 9600 bytes
>>> SScall(137, 28, 17)=0 afsd: Forking rx listener daemon.
>>> afsd: Forking rx callback listener.
>>> afsd: Forking rxevent daemon.
>>> SScall(137, 28, 36)=0 afsd: Calling AFSOP_CACHEINIT: 2800 stat cache
>>> entries, 2400 optimum cache files, 19660800 blocks in the cache, 
>>> flags
>>> =
>>> 0x1, dcache entries 2400
>>> SScall(137, 28, 6)=0 afsd: Sweeping workstation's AFS cache 
>>> directory.
>>> afsd: Using memory cache, not swept
>>> afsd: Calling AFSOP_CACHEINFO: dcache file is '/CacheItems'
>>> afsd: Calling AFSOP_CELLINFO: cell info file is '/CellItems'
>>> SScall(137, 28, 34)=0 SScall(137, 28, 29)=0 SScall(137, 28, 35)=0 
>>> afsd:
>>> Forking AFS daemon.
>>> afsd: Forking Check Server Daemon.
>>> afsd: Forking 5 background daemons.
>>> afsd: Calling AFSOP_VOLUMEINFO: volume info file is '/VolumeItems'
>>> SScall(137, 28, 8)=2 afsd: Calling AFSOP_AFSLOG: volume info file is
>>> '/etc/openafs/AFSLog'
>>> afsd: Calling AFSOP_CACHEINODE for each of the 2400 files in ''
>>> afsd: Calling AFSOP_GO with cacheSetTime = 0
>

I think error 2 is ENOENT which means your VolumeInfo file isn't there.
Could you try mounting afs to /afs and use disk cache??  .... and sweep 
that directory before. So it would be just like the first time starting 
the client.
What I expect is the client creating the needed files.

I still don't know for sure why the client stops there.

Just another question... you do have clients working in that cell, 
don't you??

Horst