[Gluster-users] question about creating a replicate volume
songxin_1980 at 126.com
Sun Feb 14 07:30:04 UTC 2016
I have a question about creating a replicate volume with two bricks as below.
There are two node, A node and B node.A node ip is 188.8.131.52 and B node ip is 184.108.40.206.
operation steps on A node as below
1.gluster peer probe 220.127.116.11
2.mkdir -p /data/brick/gv0
3.cteate two files, a and c.
4.gluster volume create gv0 replica 2 18.104.22.168:/data/brick/gv0 22.214.171.124:/data/brick/gv1 force
5.gluster volume start gv0
6.mount -t glusterfs 126.96.36.199:/gv0 gluster
operation steps on B node as below
1.mkdir -p /data/brick/gv0
2.cteate two files, b and c.The file c is diffetent with file c in A node.
3.mount -t glusterfs 188.8.131.52:/gv0 gluster
Node that step 4 on A node is after step step 2 on B node.
I want to know if the files(a b and c) should be replicate after step 5 on A node.
Does it show three files(a, b, c) after command ls glusterfs on both node?
If the file c is diffetent on two node, I want to know how it replicate on two node.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users