[OpenAFS] How do i remove unattachable volumes ?

Derrick J Brashear shadow@dementia.org
Sun, 30 Nov 2003 13:18:41 -0500 (EST)


On Sun, 30 Nov 2003, Holger [ISO-8859-1] Brückner wrote:

> > 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 ?

if no applicable inodes were found, there's nothing to remove except the
volume headers. removing those and salvaging should not only be safe, it
should do nothing