[OpenAFS] salvaging volumes destroys data

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


> 1.4.6 seems to work now.

Unfortunalely, the problem still exists. :-(

1 Volser: ListVolumes: Could not attach volume 536870922
(/vicepa:V0536870922.vol), error=101
VAttachVolume: Error reading namei vol header /vicepa/V0536870921.vol;
error=101
VAttachVolume: Error attaching volume /vicepa/V0536870921.vol; volume
needs salvage; error=101

After salvaging (bos salvage server daten) the Volume (daten) now is
completely unusable:

root@sonne:~# ls -al /afs/.daheim/daten/
insgesamt 4
drwxrwxrwx 4 root root 2048 2008-03-12 13:31 .
drwxrwxrwx 2 root root 2048 2008-03-12 13:09 ..
?--------- ? ?    ?       ?                ? /afs/.daheim/daten/Downloads
?--------- ? ?    ?       ?                ? /afs/.daheim/daten/Programme

"Downloads" and "Programme" are subfolders of volume "daten" with files in
it.

This files also seem to be there in /vicepa/AFSIDat/*

However /vicepa is also an ecryptfs and it may be causing trouble, but
what exactly failes? May be I can fix it...

Ralf