[OpenAFS] Volume Create/Delete problems
Mon, 07 Jul 2008 12:33:36 -0700
"Tom Cocagne" <firstname.lastname@example.org> 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@example.com) <http://www.eyrie.org/~eagle/>