[OpenAFS] Re: trouble deleting corrupt volume

Derrick J Brashear shadow@dementia.org
Mon, 5 Jun 2006 15:18:48 -0400 (EDT)


On Mon, 5 Jun 2006, Chaskiel M Grundman wrote:

> There are certain kinds of corruption that the salvage does not deal with 
> correctly on platforms where the namei server is used (like linux, macos, 
> *bsd) At the current time, the only way to remove the volume is to find the 
> root of the tree on the vice partition that it is stored in and remove it 
> with rm -rf.
>
> I suggest:
>
> repeat the vos zap -force
> rm -rf /vicepa/AFSIDat/I=/INF+U
>
>
> The following program may be used to map a volume id to the tree in which it 
> is stored (link it with libafsutil.a). Note that volumes in the same volume 
> group (a volume and its backup. an RW and any RO's on the same partition), 
> are stored in the same tree and are located based on the RW's ID (aka the 
> parentid)

Perl script from Warren Yenson which does the same in 
/afs/andrew.cmu.edu/usr/shadow/volid.pl


Derrick