[Gluster-users] Sync data

Vijay Bellur vbellur at redhat.com
Thu Nov 21 18:29:32 UTC 2013


On 11/21/2013 08:51 PM, Raphael Rabelo wrote:
> I guys!
>
>
> i have 2 servers in replicate mode, the node 1 has all data, and the
> cluster 2 is empty.
> I created a volume (gv0) and start it.
>
> Now, how can I synchronize all files on the node 1 by the node 2 ?
>
> Steps that I followed:
>
> gluster peer probe node1
> gluster volume create gv0 replica 2 node1:/data node2:/data
> gluster volume gvo start
>

You would need to mount the volume and then create data. You cannot 
write to the bricks directly. Instructions on mounting can be found here:

http://www.gluster.org/community/documentation/index.php/QuickStart

-Vijay




More information about the Gluster-users mailing list