[OpenAFS] Rsync-ing a vice* partition

Garance A Drosihn drosih@rpi.edu
Thu, 10 Jan 2013 23:02:26 -0500


Consider a fileserver with the following partitions on it:

   /vicepa  (in production use)
   /vicepb  (in production use)
   /nextpa  (totally empty)

Assume that all the AFS processes will be shutdown on this
fileserver for a few hours (for unrelated reasons).

As far as AFS is concerned, would it be safe and reasonable
to use rsync to duplicate all files on /vicepa to /nextpa,
dismount both partitions, and then mount what was /nextpa
as /vicepa?  Or is that playing with fire, such that it'd be
much safer to move the AFS volumes via standard AFS commands
while AFS is running?

It also happens that every volume on /vicepa is replicated
on multiple AFS fileservers.  (some are RO's for volumes
where the RW is on this /vicepa, and some are RO's for
volumes where the RW is on other fileservers).

This is not an urgent issue.  I'm just wondering.

-- 
Garance Alistair Drosehn                =     drosih@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA