[OpenAFS] How do i remove unattachable volumes ?

Holger Brückner lists@net-labs.de
30 Nov 2003 18:14:33 +0100


On Sun, 2003-11-30 at 16:51, Derrick J Brashear wrote:
> On Sun, 30 Nov 2003, Holger [ISO-8859-1] Brückner wrote:
> 
> > Hello,
> >
> > how can i remove unattachable volumes ? i tried to transfer some volume=
s
> > via rsh vos dump | vos restore (because they are to big to be put on a
> > cd/dvd) from one cell to another but had some weird network problems.
> > now i am stuck with some unattachable volumes:
> 
> how about vos zap?

doesnt work:

**** Could not attach volume 536870984 ****

storage:~# vos zap storage b 536870984 -localauth
Could not start transaction on volume 536870984
Volume needs to be salvaged
Error in vos zap command.
Volume needs to be salvaged

and salvaging does return:
11/30/2003 18:12:01 STARTING AFS SALVAGER 2.4 (/usr/lib/openafs/salvager
/vicepb 536870984)
11/30/2003 18:12:02 No applicable vice inodes on vicepb; not salvaged
Temporary file /vicepb/salvage.inodes.vicepb.1207 is missing...


will removing the V0536870984.vol file and afterwards salvage remove all
files in /vicepb not related to a volume ?

thanks

Holger Brueckner
net-labs Systemhaus GmbH