[OpenAFS] Re: Unable to delete volume

Derrick Brashear shadow@gmail.com
Mon, 1 Aug 2011 10:45:42 -0400


On Mon, Aug 1, 2011 at 10:40 AM, Aaron Knister <aaronk@umbc.edu> wrote:
> On Mon, Aug 1, 2011 at 10:18 AM, Andrew Deason <adeason@sinenomine.net>
> wrote:
>>
>> On Sun, 31 Jul 2011 22:24:39 -0400
>> Aaron Knister <aaronk@umbc.edu> wrote:
>>
>> > > As Simon indicates, what you want 'vos delentry', for the entry that
>> > > 'vos listvldb' showed you.
>> >
>> > vos delentry doesn't work-- I tried that a bunch of times before I
>> > posted to the list. Heres the error I get:
>> >
>> > Could not delete entry for volume 536988828
>> > You must specify a RW volume name or ID (the entire VLDB entry will be
>> > deleted)
>> > VLDB: no such entry
>> > Deleted 0 VLDB entries
>>
>> You can't delete by non-RW id. Just give the volume name like the
>> message says, and it will delete the entry.
>>
>
> I can't, because as mentioned the volume name is also associated with
> another volume id that I definitely don't want to delete. To illustrate w=
hat
> I mean, 130.85.24.58 is the server I want to delete and the RO volume
> associated with it that I want to delete is named g.ilin22.local:
> -------
> $=A0vos listvldb -server 130.85.24.58
> VLDB entries for server 130.85.24.58
> g.ilin22.local
> =A0 =A0 ROnly: 536988828
> =A0 =A0 number of sites -> 1
> =A0 =A0 =A0 =A0server solaris10-test1.core.umbc.edu partition /vicepa RO =
Site
> Total entries: 1

ah, so, your problem is this id isn't the RO id associated with the
same name below.
wild guess:
vos ex 536988827 and see what it is. if nothing, try vos delentry
536988827 and see
if that's more helpful. would be sad if it is....

> -------
> However, if I query the vldb for the volume g.ilin22.local you'll see
> (below) that it and its RO replicas exist with a different set of volume
> IDs. As I mentioned, I can't delete this volume by name. Doing so would b=
e
> very bad for me.
> -------
> vos listvldb g.ilin22.local
> g.ilin22.local
> =A0 =A0 RWrite: 537195552 =A0 =A0 ROnly: 537195559 =A0 =A0 Backup: 537195=
686
> =A0 =A0 number of sites -> 3
> =A0 =A0 =A0 =A0server ifs1.afs.umbc.edu partition /vicepd RW Site
> =A0 =A0 =A0 =A0server ifs1.afs.umbc.edu partition /vicepd RO Site
> =A0 =A0 =A0 =A0server ifs2.afs.umbc.edu partition /vicepd RO Site
> -------
>>
>> --
>> Andrew Deason
>> adeason@sinenomine.net
>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
>
> --
> Aaron Knister
> Systems Administrator
> Division of Information Technology
> University of Maryland, Baltimore County
> aaronk@umbc.edu
>



--=20
Derrick