[OpenAFS] salvaging volumes destroys data

Jason Edgecombe jason@rampaginggeek.com
Tue, 11 Mar 2008 18:43:54 -0400


Ralf Hornik (Mailings) wrote:
> 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?
>   
Have you tried running 1.4.6?

Jason