[OpenAFS] Volume rename with active volumes

Richard Brittain Richard.Brittain@dartmouth.edu
Fri, 2 Sep 2011 17:04:10 -0400 (EDT)


Hi,
   we need to rename some data volumes, but they tend to be busy most of 
the time, so I did some experiments with 'vos rename' and 'fs mkmount' 
etc.

As expected, most clients get an error if the vos rename has happened, but 
not the rmmount/mkmount/release (since the mount points are replicated).
However, a client with an open file on the volume seemed to be fine and 
continued to work after rename, and even reported the correct voluume name 
to 'fs lq'.

I tried two tests:
  - hold a file open for writing and append lines.  Most or all of the 
activity would be to the local cache.
  - repeatedly open/append/close a file.  I assume this pushed it out to 
the fileserver.  This also worked without error.

Given this, is it safe to rename active volumes ?.  I can't figure out how 
the active clients get this right.

Thanks,

  Richard
-- 
Richard Brittain,  Research Computing Group,
                    Computing Services, 37 Dewey Field Road, HB6219
                    Dartmouth College, Hanover NH 03755
Richard.Brittain@dartmouth.edu 6-2085