You could configure read-subvolume for individual clients using the following mount option:
mount -t glusterfs -o "xlator-option=*replicate*.read-subvolume-index=0" <hostname>:/<volname> <mountpoint>
In the example above, 0 represents the zeroth child. If a particular client wants to use the second brick as the read child, use the following:
mount -t glusterfs -o "xlator-option=*replicate*.read-subvolume-index=1" <hostname>:/<volname> <mountpoint>
-Krutika
From: "Yannick Perret" <yannick.perret@xxxxxxxxxxxxx>
To: "Krutika Dhananjay" <kdhananj@xxxxxxxxxx>
Cc: gluster-users@xxxxxxxxxxx
Sent: Friday, March 4, 2016 3:35:57 PM
Subject: Re: Per-client prefered server?
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users