[OpenAFS] Migrating existing data onto vice partition on the fly

Jeff Blaine jblaine@kickflop.net
Tue, 30 Dec 2014 10:32:50 -0500


> First I would set up the cell and everything, then just run a
>=20
> vos create -server athlas -partition /vicepa -name root.afs -cell
> cellname -noauth
>=20
> ..right on top of the existing partition...

Hmm? Describe this more. On top of what existing partition?

But, ignoring that odd info above, all you have to do is:

  rsync -va /my-xfs/data/ /afs/yourcell/huge-empty-volume

                        ^
                        |- trailing slash relevant, read rsync(1)

If /my-xfs/data is writable space, you *must* to stop all writes to it
(re-mount it read-only) and then run that command again to finalize
things. This may or may not be "downtime" for you.

--=20
Jeff Blaine
kickflop.net
PGP/GnuPG Key ID: 0x0C8EDD02