[OpenAFS] Help needed for receovery of data of inode fileserver (Solaris 10 x86)

John Tang Boyland boyland@cs.uwm.edu
Thu, 03 Apr 2008 08:59:02 -0500


] There may be patches in 1.4.7-pre2 that might help.

I tried it, but got no better results:

@(#) OpenAFS 1.4.7pre2 built  2008-04-03 
04/03/2008 08:22:21 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager -f)
04/03/2008 08:22:21 Starting salvage of file system partition /vicepa
04/03/2008 08:22:21 SALVAGING FILE SYSTEM PARTITION /vicepa (device=c1t1d0s6)
04/03/2008 08:22:21 ***Forced salvage of all volumes on this partition***
04/03/2008 08:22:31 Scanning inodes on device /dev/rdsk/c1t1d0s6...
04/03/2008 08:24:41 246 nVolumesInInodeFile 6888 
04/03/2008 08:24:41 /vicepa/V0536871296.vol is not a legitimate volume header f
le; deleted
04/03/2008 08:24:41 SALVAGING VOLUME 536870912.
04/03/2008 08:24:41 Part of the header (Volume information) is corrupted
04/03/2008 08:24:41 totalInodes 165
04/03/2008 08:24:41 "Salvage volume group" core dumped!
04/03/2008 08:24:41 SALVAGING VOLUME 536870915.
04/03/2008 08:24:41 Part of the header (Volume information) is corrupted
04/03/2008 08:24:41 totalInodes 30
04/03/2008 08:24:42 "Salvage volume group" core dumped!
04/03/2008 08:24:42 SALVAGING VOLUME 536870918.
04/03/2008 08:24:42 Part of the header (Volume information) is corrupted
04/03/2008 08:24:42 totalInodes 5
04/03/2008 08:24:42 "Salvage volume group" core dumped!
04/03/2008 08:24:42 SALVAGING VOLUME 536870921.
04/03/2008 08:24:42 Part of the header (Volume information) is corrupted
04/03/2008 08:24:42 totalInodes 7
04/03/2008 08:24:43 "Salvage volume group" core dumped!
04/03/2008 08:24:43 SALVAGING VOLUME 536870924.
04/03/2008 08:24:43 Part of the header (Volume information) is corrupted
04/03/2008 08:24:43 totalInodes 526
04/03/2008 08:24:43 "Salvage volume group" core dumped!
04/03/2008 08:24:43 SALVAGING VOLUME 536870927.
04/03/2008 08:24:43 Part of the header (Volume information) is corrupted
04/03/2008 08:24:43 Vnode 2050 (unique 1505): corresponding inode 22233575 is m
ssing; vnode deleted, vnode mod time=Tue Nov 24 08:23:17 1998
04/03/2008 08:24:43 Vnode 2052 (unique 1506): corresponding inode 22233576 is m
ssing; vnode deleted, vnode mod time=Tue Nov 24 08:23:17 1998

... etc ad nauseum (almost 2000 lines of this)

04/03/2008 08:26:44 Vnode 1600 (unique 2574): corresponding inode 22768239 is missing; vnode deleted, vnode mod time=Wed Feb 13 15:49:27 2008
04/03/2008 08:26:44 totalInodes 701
04/03/2008 08:26:44 "Salvage volume group" core dumped!
04/03/2008 08:26:44 SALVAGING OF PARTITION /vicepa COMPLETED

# fsck /vicepa
----Open AFS (R) openafs 1.4.7pre2 fsck----
** /dev/rdsk/c1t1d0s6
** Last Mounted on /vicepa
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
849926 files, 18516648 used, 39053355 free, 849677 AFS files (89091 frags, 4870533 blocks, 0.2% fragmentation)

Is there a way for the core files to be found?  It seems
that bos/salvager deletes them?  "ulimit" says "unlimited".
There's no core files in /usr/afs/logs, /tmp or /var/tmp

John Boyland