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

Levente Peres otravier@gmail.com
Tue, 30 Dec 2014 18:35:21 +0100


Wow!

More and more things to think about... Thank you Jason!

I let you guys know how it goes...

Levente

On 12/30/2014 06:29 PM, Jason Edgecombe wrote:
> You can do a bind mount where you mount the old folder as read-only (I
> think) in a new location, then only serve out files via AFS and the
> renamed read-only share.
>
>     mkdir /vicepa-readonly
>     mount /vicepa /vicepa-readonly -o ro
> Then share out /vicepa-readonly as a share.
>
> ** don't try this at home/work**
> Other crazy and dangerous options could include using something like
> AUFS with the RO orginal data and a new AFS layer on top, which is all
> mounted as a non-AFS share (security?). Tthe new data would be written
> to AFS, but still visible as a share until the migration is complete,
> then change the clients to use AFS instead of the old sharing protocol.
> *Here be dragons!!*
>
> Jason
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info