[OpenAFS-devel] afsd: ASSERT: cacheFiles 1000 diskblocks -26

Martin MOKREJŠ mmokrejs@ribosome.natur.cuni.cz
Fri, 02 Sep 2005 01:38:51 +0200


I'm testing current cvs head against linux-2.6.13 kernel on smp Xeon based machine.
Additionally, I have applied the patch from Troy to improve the cache statistics.
Anyway, I have killed bosserver processes to reboot (I'm installing new cell and
the KeyFile is somehow not picked up again: "ptserver: can't find any Kerberos keys, code = 70354689, ignoring").



I did:

# /usr/vice/etc/afsd -chunk 20 -nosettime -stat 1000 -daemons 12 -dcache 1000 -volumes 10 -files 300000 -verbose

and much later after making the root.afs volume and obtaining afs token etc.

# /usr/vice/etc/afsd shutdown
afsd: ASSERT: cacheFiles 1000  diskblocks -26
# 


strace tells me:
open("/usr/vice/etc/KeyFile", O_RDONLY) = 3
read(3, "\0\0\0\1\0\0\0\1\367\307\271\301\274]/\4", 100) = 16
close(3)                                = 0
stat64("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0644, st_size=70, ...}) = 0
open("/usr/vice/etc/cacheinfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=30, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f80000
read(3, "/afs:/usr/vice/cache:32768000\n", 4096) = 30
close(3)                                = 0
munmap(0xb7f80000, 4096)                = 0
statfs("/usr/vice/cache", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=9614085, f_bfree=9609535, f_bavail=9121159, f_files=4889248, f_ffree=4589087, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/usr/vice/etc/AFSLog", O_RDWR)    = 3
close(3)                                = 0
write(2, "afsd: ASSERT: cacheFiles 1000  diskblocks -26\n", 46afsd: ASSERT: cacheFiles 1000  diskblocks -26
) = 46
exit_group(1)                           = ?
#

The underlying partiton has dedicated ext2 filesystem (frehsly created).