[OpenAFS] salvaging volumes destroys data

Ralf Hornik (Mailings) ralf@best.homeunix.org
Tue, 11 Mar 2008 16:16:12 +0100 (CET)

Hi list,

I expierienced the following problem:

When I create a volume, I can add a replication site, and can release it
without problems.

But when I copy some data to it, and try to release I get the error
"Volume needs to be salvaged" and the VolderLog tells:

VAttachVolume: Error reading largeVnode vol header
/vicepa/V0536870939.vol; error=101
VAttachVolume: Error attaching volume /vicepa/V0536870939.vol; volume
needs salvage; error=101
SYNC_ask: negative response on circuit 'FSSYNC'
FSYNC_askfs: FSSYNC request denied for reason=101

Sometimes it shows up "namei vol header" insteed of "largeVnode vol header"

After salvaging, all data are missing in /afs/ alltough they are
physically there in /vicepa/AFSIDat/*

I estimate, that files with long filenames damage the volume but I
couldn't reproduce it clearly.

My version of openafs is 1.5.30 and 1.5.33 build with

./configure --prefix=/opt/openafs \
         --with-krb5=yes \
         --with-linux-kernel-headers=/usr/src/linux-headers-2.6.22-14-xen \
         --with-afs-sysname=amd64_linux26 \
         --enable-supergroups \
         --enable-namei-fileserver \
         KRB5LIBS="-lkrb5 -lcrypto"

OS is Ubuntu 7.10 amd64/Kernel 2.6.22

Can somebody tell me what the errormessage above tells and what I can do
to solve this?

Thank you and best regards