[OpenAFS] Craziness with cache, Input/Output error, Linux

Jeff Blaine jblaine@kickflop.net
Thu, 31 Jan 2008 10:40:24 -0500


I'm stumped!

Everything below is done with an 'admin' token and
'system:administrators rlidwka' ACLs.

# Basic info you need

bash-3.2$ uname -a
Linux jester 2.4.21-52.ELsmp #1 SMP Tue Sep 25 15:13:04 EDT 2007 i686 
i686 i386 GNU/Linux
bash-3.2$ strings /usr/vice/etc/afsd | grep OpenAFS
@(#) OpenAFS 1.4.5 built  2007-11-02
bash-3.2$

bash-3.2$ fs lq .
Volume Name                   Quota      Used %Used   Partition
proj.hdr                   30000000  12487239   42%         20%
bash-3.2$ fs lq /afs/rcf/user/jblaine
Volume Name                   Quota      Used %Used   Partition
u.jblaine                   2000000    194039   10%         24%

# The problem

bash-3.2$ rm -rf ~jblaine/systemC/ ; strace -o /tmp/log cp -rp systemC 
~jblaine/
cp: writing `/afs/rcf/user/jblaine/systemC/ENV_SRCv2.tgz': No space left 
on device
cp: reading `systemC/Project.mk~': Input/output error
cp: reading `systemC/.#Makefile.1.11': Input/output error
cp: reading `systemC/.#Makefile.1.12': Input/output error
cp: reading `systemC/ENV_SRCv3.tgz': Input/output error
bash-3.2$

# The problem's console info via syslog

Jan 31 10:32:07 jester last message repeated 3 times
Jan 31 10:32:07 jester kernel: *** Cache partition is FULL - Decrease 
cachesize!!! ***
Jan 31 10:32:07 jester kernel:

# YOU LIE!

bash-3.2$ df -kl /cache
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda6               147766     97541     42596  70% /cache
bash-3.2$ fs getcacheparms
AFS using 92742 of the cache's available 100000 1K byte blocks.
bash-3.2$