[OpenAFS] Re: Moving Magic Trio to another domain

Todd Lewis utoddl@email.unc.edu
Tue, 24 Sep 2013 15:52:18 -0400


On 09/24/2013 03:23 PM, Andrew Deason sent:
> If you want to copy the data from a 'source' cell to a 'destination'
> cell and you can have both available at the same time, you can use the
> 'up' tool to copy the directory tree while preserving all of the
> afs-specific information and avoiding endless loops.

'up' is only partially helpful here. You can either have 'up' stop copying
at mountpoints, so you're only copying the part of the tree that's in an
individual volume, or you can have it copy the entire tree below some
point, in which case mountpoints in the source become regular directories
in the target, and everything gets "pulled up" into the target volume. I
rather imagine that's where the name "up" comes from, but I don't really
know. It's saving grace of course it that it copies ACLs as it goes.

I don't think 'up' will detect or avoid endless loops, but it's been a
while since I've been in that part of the code.
-- 
   +--------------------------------------------------------------+
  / Todd_Lewis@unc.edu  919-445-0091  http://www.unc.edu/~utoddl /
 /       With her marriage she got a new name and a dress.      /
+--------------------------------------------------------------+