[OpenAFS] Volume space "lost in space".

Harald Barth haba@kth.se
Sun, 01 Feb 2009 15:04:37 +0100 (CET)


> We have encountered a strange error here on a volume.  vos examine (or fs lq) says that it is 15G in size,
> but du can only find 4G in the volume.  salvager do not find anything wrong with the volume.

Have you told it to reattach orphan files during salvage?

You may have salvaging errors. I think there was a bug in the salvager that was fixed in 1.4.8. 

> Any hints?  The fileserver runs 1.4.5 (on RHEL4).  Reading the RELNOTES for the later releases
> shows nothing about a fix for this problem.

Before you run the salvager across the volume, have a look at the file tree on /vicep*.
If your volume number is 4711:

$ /afs/stacken.kth.se/home/haba/bin/scripts/volid.pl  4711
     4711:    /vicep?/AFSIDat/b=/b7=

that is your tree. How big is that? If you make a tar of that and the
V04711 file, you have everything to start over if things go wrong.
Don't forget the -p when unpacking the tar, there _is_ info that
matters in these bits.

Harald.