[OpenAFS] How to remove a volume that can't be removed?

Benjamin P Myers dative@sukrahelitek.com
Mon, 13 Dec 2004 15:35:33 -0600


2nd try. Sorry, Derrick.  That damn reply to sender button got me again.

I do get EEXIST in a few places:

On Monday 13 December 2004 02:39 pm, Derrick J Brashear wrote:
> On Mon, 13 Dec 2004, Benjamin P Myers wrote:
> > I have removed the volume header /vicepd/V0536871072.vol.  Unfortunately,
> > the Salvager re-creates it.
> >
> > 12/13/2004 14:16:12 iinc failed. inode 119129507942022 errno 9
>
> strace the salvager; do you get EEXIST anywhere?

stat64("/vicepd/AlwaysAttach", 0xbffff240) = -1 ENOENT (No such file or 
directory)
stat64("/vicepd", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("/vicepd/Lock", 0700)             = -1 EEXIST (File exists)
open("/vicepd/Lock/vicepd", O_RDWR|O_CREAT, 0600) = 6
close(6) 

I don't imagine that one matters much. I get one for each partition. Outside 
of that, there are no further EEXIST in the strace output, which is available 
at ftp://sukrahelitek.com/users/dative/strace.out.