That was indeed the problem. After adding that line to the end of my
delete script, the volumes worked every time.

    Thanks Russ!

    Tom

On Mon, Jul 7, 2008 at 3:33 PM, Russ Allbery <[EMAIL PROTECTED]> wrote:

> "Tom Cocagne" <[EMAIL PROTECTED]> writes:
>
> > A quick execution of the create script, followed by a delete, followed
> > by a create with the same user name works fine. In fact, several cycles
> > work fine. However, if I actually use the newly created volume, a
> > subsequent recreate will fail. For example, the following procedure
> > fails every time:
> >
> > 1. run afs create script for 'test_user'
> > 2. Log in as 'test_user', run command "echo foo > /afs/
> > tdomain.com/home/test_user/bar", log out
> > 3. run afs delete script for 'test_user'
> > 4. run afs create script for 'test_user'
> >
> >    In step 4, all commands except for the last appear to work normally.
> The
> > final command fails with the error message "fs: File '/afs/.
> > tdomain.com/home/test_user' doesn't exist" and attempting to run 'ls' on
> the
> > directory as root on the AFS server machine and with proper tokens yields
> > "ls: cannot access /afs/tdomain.com/home/test_user: Connection timed
> out"
>
> I suspect that for some reason the volume mappings on your local system
> are not being invalidated quickly enough.  Try inserting an fs checkv
> command between the deletion and the creation and see if that fixes it.
>
> --
> Russ Allbery ([EMAIL PROTECTED])             
> <http://www.eyrie.org/~eagle/<http://www.eyrie.org/%7Eeagle/>
> >
>

Reply via email to