[OpenAFS] Re: Reoccuring salvager errors/fixes

Matthias Gerstner matthias.gerstner@esolutions.de
Fri, 11 Feb 2011 19:54:41 +0100


>> Then one time I foolishly ran the 'salvager' command directly for a
>> volume, without taking it offline. That messed up things for that
>> volume pretty much.

> It shouldn't. The salvager itself will take a volume offline if run
> against a single volume. All 'bos salvage' does for single-volume
> requests is run the salvager. How are you normally scheduling these
> salvages?

Its just that one time I ran "salvager" for a single volume
interactively and that somehow screwed things up. I think I've read
something about the salvager regarding volume locking in some man page
but can't seem to find that part right now.

Anyway, right now I run the following command via a cron job once a
week:

"bos salvage -server "server" -showlog -all -orphans remove"

I've just added the "-orphans remove" thanks to your hint.

> As well it should. What filesystem are you using for the /vicep*
> partitions?

There's currently only one partition and it is using ext3:

mount | grep vicep
/dev/mapper/raid1-afs.vicepa on /vicepa type ext3 (rw,noexec,nosuid,nodev,noatime)

Greetings,

Matthias

-- 
Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH), Senior Software Engineer
e.solutions GmbH

Am Wolfsmantel 46, 91058 Erlangen, Germany

Registered Office:
Pascalstr. 5, 85057 Ingolstadt, Germany

Phone +49-8458-3332-672, mailto:Matthias.Gerstner@esolutions.de
Fax +49-8458-3332-20672

e.solutions GmbH
Managing Directors Uwe Reder, Dr. Riclef Schmidt-Clausen
Register Court Ingolstadt HRB 5221