How to replicate existing files using GlusterFS

glusterfs

I am testing GlusterFS to replicate data across two test servers. I have followed this excellent step by step Howto and everything worked flawlessly.

I have successfully added the peer, created a volume and glusterfs-mounted the gluster volume on a empty mount point. Files touch'ed or copied into that mount point do appear on the peer. No problem here.

But how can I replicate existing data without copying it to a already mounted gluster volume? I have the feeling that I am missing something trivial but what?

Best Answer

You need to move the data off it's current filesystem and onto the gluster filesystem.

Related Topic