[OpenAFS] Re: Max number of files in a volume

Andrew Deason adeason@sinenomine.net
Mon, 26 Apr 2010 10:27:29 -0500

On Mon, 26 Apr 2010 10:58:57 -0400
Rich Sudlow <rich@nd.edu> wrote:

> 04/26/2010 10:29:07 g.dial (536881461) updated 04/26/2010 04:22
> 04/26/2010 10:30:41 "Salvage volume group" core dumped!

Platform? Is this namei?

If you're missing the small/large vnode index as indicated by the
fileserver log below... I don't know how recoverable that is. At least
on namei, I think we could probably recover the individual files
(possibly only those not in the backup volume you appear to have)... but
directory structure etc would be lost at least.

Anyway, the salvager doesn't currently handle this case at all, I don't
think. Data can possibly be recovered, but it's not easy.

But that's assuming that's what you're missing. To be sure... assuming
you're on something with gdb:

# gdb /usr/afs/bin/salvager /path/to/core
(gdb) bt

be careful of any sensitive information in that backtrace; worst thing I
can think of that would appear is a file name.

> Mon Apr 26 04:22:47 2010 Program aborted:
> Mon Apr 26 04:22:47 2010 VAllocVnode: can't stat index file!

Ugh, wow, we could certainly handle this a bit better...

Andrew Deason