[OpenAFS] Replicated volume refuses to be salvaged

Hartmut Reuter reuter@rzg.mpg.de
Mon, 24 Feb 2003 09:09:21 +0100


Norman P. B. Joseph schrieb:
> I have a replicated volume (on the same server and partition as its RW
> volume) that won't attach, and won't respond to salvaging.  Here's the
> SalvageLog entry when salvaging the single volume:
> 
> # bos salvage sun43 s 536871053 -showlog
> [...salvaging...]
> SalvageLog:
> @(#)Base configuration afs3.6 2.5
> 02/21/2003 10:56:29 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager /viceps 536871053)
> 02/21/2003 10:56:40 Scanning inodes on device /dev/rdsk/c2t0d2s6...
> 02/21/2003 10:57:07 No applicable vice inodes on c2t0d2s6; not salvaged
> Temporary file /viceps/salvage.inodes.c2t0d2s6.2142 is missing...

I had a similar effect some days ago in MR-AFS and it turned out that 
the reason was that the field to keep the file name 
/viceps/salvage.inodes.c2t0d2s6.2142... was too short. So it had created 
the file, but the name he was looking for was cut off at the end. Have a 
look into vol-salvage.c! Seems to be a problem on Solaris with its long 
device names.

Hartmut


> 
> How do I recover from a volume that won't salvage?  Being a clone, will
> a "vos remove; vos addsite" work on this volume?
> 


-- 
-----------------------------------------------------------------
Hartmut Reuter                           e-mail reuter@rzg.mpg.de
					   phone +49-89-3299-1328
RZG (Rechenzentrum Garching)               fax   +49-89-3299-1301
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut fuer Plasmaphysik (IPP)
-----------------------------------------------------------------