[OpenAFS] Unable to delete volume

FBO fbo2@gmx.net
Mon, 26 Aug 2002 18:02:29 +0200


Hi AFS-Fans,

one of my fileservers crashed (hardware problem) and when
i managed to get it working again, a volume could not
be attached. Its a ro-clone of a volume residing on another
server.
Volume is c.sscd.readonly (VID 536870933).


 root@mekong:/a/a > vos listvol ganges
 Total number of volumes on server ganges partition /vicepa: 23 
 [snip] ...
 root.afs.readonly                 536870913 RO          5 K On-line
 root.cell.readonly                536870916 RO         90 K On-line
 **** Could not attach volume 536870933 ****

 Total volumes onLine 22 ; Total volumes offLine 1 ; Total busy 0


I tried vos (remove|remsite), remsite removed the vldb entry correctly.
"vos remove" showed that:


 root@mekong:/a/a > vos remove ganges a 536870933
 Transaction on volume 536870933 failed
 Volume needs to be salvaged
 Error in vos remove command.
 Volume needs to be salvaged


OK, lets try salvaging:


 root@mekong:/ > bos salvage gan a 536870933 -showlog -tmpdir /tmp    
 Starting salvage.
 bos: salvage completed
 SalvageLog:
 @(#) OpenAFS 1.2.6 built  2002-08-02 
 08/26/2002 17:43:25 STARTING AFS SALVAGER 2.4 (/usr/lib/openafs/salvager /vicepa 536870933 -tmpdir /tmp)
 08/26/2002 17:43:25 No applicable vice inodes on vicepa; not salvaged
 Temporary file /tmp/salvage.inodes.vicepa.485 is missing...


It didn't help - so I tried zapping:

root@mekong:/a/a > vos zap ganges a c.sscd.readonly


 Warning: Entry for volume number 536870933 exists in VLDB (but we're zapping it anyway!)
 Could not start transaction on volume 536870933
 Volume needs to be salvaged
 Error in vos zap command.
 Volume needs to be salvaged


Does someone know, what can be done to remove that volume?

Thanks for any help.

FBO