[OpenAFS] Re: fileserver (sunxx86_510) doesn't attach volumes

John Tang Boyland boyland@cs.uwm.edu
Fri, 21 Mar 2008 10:54:29 -0500


Well, I needed access to the files, so I went ahead with salvage,
but my worried were well-founded.  I got bad results,
and none of the volumes were salavaged (see log at end of message).
I guess we'll have to go to backups.
John


% bos salvage jeremiah -partition a -showlog
bos: shutting down fs.
Starting salvage.
bos: waiting for salvage to complete.
...
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: salvage completed
SalvageLog:
@(#) OpenAFS 1.4.6 built  2007-12-17 
03/21/2008 10:20:17 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager -f /vicepa)
03/21/2008 10:20:17 SALVAGING FILE SYSTEM PARTITION /vicepa (device=c0t600C0FF000000000098C96204C3F4A00d0s2)
03/21/2008 10:20:17 ***Forced salvage of all volumes on this partition***
03/21/2008 10:20:27 Scanning inodes on device /dev/rdsk/c0t600C0FF000000000098C96204C3F4A00d0s2...
03/21/2008 10:35:32 206 nVolumesInInodeFile 5768 
03/21/2008 10:35:32 CHECKING CLONED VOLUME 536870913.
03/21/2008 10:35:32 Part of the header (Volume information) is corrupted
03/21/2008 10:35:32 totalInodes 165
03/21/2008 10:35:33 CHECKING CLONED VOLUME 536870916.
03/21/2008 10:35:33 Part of the header (Volume information) is corrupted
03/21/2008 10:35:33 totalInodes 30
...
03/21/2008 10:35:42 Part of the header (Volume information) is corrupted
03/21/2008 10:35:43 totalInodes 7214
03/21/2008 10:35:43 "Salvage volume group" core dumped!
03/21/2008 10:35:43 CHECKING CLONED VOLUME 536871855.
03/21/2008 10:35:43 Part of the header (Volume information) is corrupted
03/21/2008 10:35:43 SALVAGING VOLUME 536871854.
03/21/2008 10:35:43 sp04.cs654 (536871854) updated 08/27/2007 10:54
03/21/2008 10:35:43 totalInodes 3502
03/21/2008 10:35:54 "Salvage volume group" core dumped!
03/21/2008 10:35:54 CHECKING CLONED VOLUME 536871858.
03/21/2008 10:35:54 Part of the header (Volume information) is corrupted
03/21/2008 10:35:54 SALVAGING VOLUME 536871857.
03/21/2008 10:35:54 sp04.cs431 (536871857) updated 08/27/2007 10:55
03/21/2008 10:35:54 totalInodes 2408
...
03/21/2008 10:40:43 "Salvage volume group" core dumped!
03/21/2008 10:40:43 SALVAGING OF PARTITION /vicepa COMPLETED
bos: restarting fs.


FileLog shows:
 
Fri Mar 21 10:40:45 2008 File server starting
Fri Mar 21 10:40:45 2008 afs_krb_get_lrealm failed, using cs.uwm.edu.
Fri Mar 21 10:40:45 2008 Set thread id 14 for FSYNC_sync
Fri Mar 21 10:40:45 2008 FSYNC_sync: bind failed with (125), removed bogus /usr/afs/local/fssync.sock
Fri Mar 21 10:40:45 2008 Partition /vicepa: attaching volumes
Fri Mar 21 10:40:45 2008 VAttachVolume: Error reading diskDataHandle vol header /vicepa/V0536872911.vol; error=101
Fri Mar 21 10:40:45 2008 VAttachVolume: Error attaching volume /vicepa/V0536872911.vol; volume needs salvage; error=101
...
Fri Mar 21 10:40:45 2008 VAttachVolume: Error reading diskDataHandle vol header /vicepa/V0536873526.vol; error=101
Fri Mar 21 10:40:45 2008 VAttachVolume: Error attaching volume /vicepa/V0536873526.vol; volume needs salvage; error=101
Fri Mar 21 10:40:45 2008 Partition /vicepa: attached 0 volumes; 192 volumes not attached