Hi Joseph, I think there is gap in understanding your problem. Let me try to give more clear picture on this, First , couple of clarification points here 1) client graph is an internally generated configuration file based on your volume, that said you don't need to create or edit your own. If you want a 3-way replicated volume you have to mention that when you create the volume. 2) When you mount a gluster volume, you don't need to provide any client graph, you just need to give server hostname and volname, it will automatically fetches the graph and start working on it (so it does the replication based on the graph generated by gluster management daemon)
Now let me briefly describe the procedure for creating a 3-way replicated volume 1) gluster volume create <volname> replica 3 <hostname>:/<brick_path1> <hostname>:/<brick_path2> <hostname>:/<brick_path3> Note : if you give 3 more bricks , then it will create 2-way distributed 3 way replicated volume (you can increase the distribution by adding multiple if 3) this step will automatically create the configuration file
in
/var/lib/glusterd/vols/<volname>/trusted-<volname>.tcp-fuse.vol 2) Now start the volume using gluster volume start <volname> 3) Fuse mount the volume in client machine using the command mount -t glusterfs <server_hostname>:/<volname> /<mnt> this will automatically fetches the configuration file and will do the replication. You don't need to do anything
Let me know if this helps.
Regards Rafi KC
On 02/24/2017 05:13 PM, Joseph
Lorenzini wrote:
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users