[OpenAFS] OAFS 1.4.2fc4 Solaris8 Problems salvaging volumes

Matt Elliott melliott@ncsa.uiuc.edu
Fri, 29 Sep 2006 17:08:02 -0500


On Sep 29, 2006, at 2:59 PM, Chaskiel M Grundman wrote:

> --On Friday, September 29, 2006 10:23:20 AM -0500 Matt Elliott  
> <melliott@ncsa.uiuc.edu> wrote:
>
>> 09/29/2006 10:15:35 Recreating link table for volume 605640210.
>> Unable to allocate link table inode for volume 605640210 (error = 17)
> 17 is EEXIST, so it is trying to create the link table even though  
> it exists. This suggest that maybe its uid/gid/mode are wrong.
>
> what's in /vicepd/AFSIDat/G/GMJ4Y/special?
> The following files should exist, with the listed mode, uid, and gid:
>
> ---------x    1 22034     18482  zzzz56VJNE0
> --------w-    1 22034     18482 zzzz96VJNE0
> --------wx    1 22034     18482 zzzzD6VJNE0
> -------rw-    1 22034     18482  zzzzP6VJNE0

Interesting.

----------   1 daemon   root        8041 Apr 28 05:48 zzzz56VJNE0
----------   1 daemon   root       19889 Apr 27 22:12 zzzz96VJNE0
----------   1 daemon   root       24681 Sep 12 01:01 zzzzD6VJNE0
----------   1 daemon   root       14040 Apr 28 01:05 zzzzP6VJNE0

reset the modes to what you had listed and resalvaged.

Starting salvage.
bos: salvage completed
SalvageLog:
@(#) OpenAFS 1.4.2fc4 built  2006-09-21
09/29/2006 17:05:13 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager / 
vicepd 605640210)
09/29/2006 17:05:13 3 nVolumesInInodeFile 84
09/29/2006 17:05:13 CHECKING CLONED VOLUME 605640223.
09/29/2006 17:05:13 user.u34105.backup (605640223) updated 02/05/1997  
16:17
09/29/2006 17:05:13 CHECKING CLONED VOLUME 1.
09/29/2006 17:05:13 Part of the header (Volume information) is corrupted
09/29/2006 17:05:13 totalInodes 20

Well, we got further. Any more ideas?


>
> if the uid/gid/mode is wrong, note the current ones, reset them to  
> the correct value, and try salvaging again.
>
> This volume appears to have clones (based on nVolumeInInodeFile),  
> so there will probably be additional files. lets ignore them for now.
>
>> 09/29/2006 10:15:50 Recreating link table for volume 605564696.
>> Unable to allocate link table inode for volume 605564696 (error = 20)
> 20 is ENOTDIR.
>
> what's in /vicepd/AFSIDat/M/Mw04Y/special?
> does that path exist as a directory?

Nope, it shows up as a file.

# pwd
/vicepd/AFSIDat/M/Mw04Y
# ls -la
total 20
drwx------   3 root     root         512 Apr 27 22:13 +
drwx------   3 root     root         512 Apr 27 22:13 .
drwx------   3 root     root         512 Sep 27 13:06 ..
----------   1 daemon   root        6640 Apr 28 05:48 special