[OpenAFS] Unable to delete volume: Logfiles

Derrick J Brashear shadow@dementia.org
Mon, 26 Aug 2002 18:01:42 -0400 (EDT)


On Mon, 26 Aug 2002, FBO wrote:

> > you should also get a VCreateVolume: error
> I just looked into the sources a bit,
> no VCreateVolume-error, it seems as if VAttachVolumeByName(ec,...) fails.

Fine, so I'd guess:
    if ((fd = open(path, O_RDONLY)) == -1 || fstat(fd,&status) == -1) {
        close(fd);
        VOL_LOCK
        *ec = VNOVOL;
        goto done;
    }
fails. strace is your friend.