[OpenAFS] can't force deletion of off-line volume

Hans-Gunther Borrmann hans-gunther.borrmann@rz.uni-freiburg.de
Mon, 21 Mar 2005 13:12:37 +0100


On Saturday 19 March 2005 01:25, Wes Chow wrote:
> I'm having problems with a volume that isn't in the VLDB, but shows up
> off line with "vos listvol":
>
> hippo:~# vos listvol hippo /vicepb | grep 20040102
> datafiles.20040102                536937070 RW    5688181 K Off-line
>
> hippo:~# vos online hippo /vicepb datafiles.20040102
> VLDB: no such entry
>
> hippo:~# vos listvldb datafiles.20040102
> VLDB: no such entry
>
> hippo:~# vos remove hippo /vicepb datafiles.20040102
> Can't find volume name 'datafiles.20040102' in VLDB
> VLDB: no such entry
>
> hippo:~# vos zap hippo /vicepb datafiles.20040102
> VLDB: no such entry
>
>
>
> If my understanding is correct, the volume still exists on the server
> but isn't in the VLDB.  The "vos zap" command is supposed to delete
> volumes off a server without consulting the VLDB.  However, it seems
> as if the zap command is trying to access the VLDB?
>
> I've also run both "vos syncvldb" and "vos syncserv", but I haven't
> been able to get that volume back into a useable state.
>
> Any help would be appreciated.
>
> Thanks,
> Wes

=46rom the manual:

The -force flag removes a volume even if it cannot be "attached" (brought=20
online), which can happen either because the volume is extremely damaged or=
=20
because the Salvager functioned abnormally. Without this flag, this command=
=20
cannot remove volumes that are not attachable. See also the Cautions sectio=
n.=20
=2D-=20
________________________________________________________________
Hans-Gunther Borrmann <hans-gunther.borrmann@rz.uni-freiburg.de>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
=46ax:  +49 761/203-4643