Fwd: [OpenAFS] best practice for salvage

John Hascall john@iastate.edu
Thu, 03 Apr 2008 08:46:43 CDT


> At my last *cough* site, we ran with fast-restart.  Because of the
> cruft that would sometimes get left behind in volumes due to things
> like crappy fortran compilers, I would run a salvage on each server
> every 2-3 months.   As there were rarely any real errors, it ran
> pretty quickly and would fit in my "official downtime" window.

I would think you could also do individual volumes salvages
which, although slower, would not result in downtime (for
those of us with no window, for example).

For example:
	server="afs-10"
	part="a"
	foreach vol ( `vos listvol -fast $server $part | tail +2` )
		bos salvage $server $part $vol
	end
Say doing one partion early each morning or something.

John