<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 04/03/2016 13:12, Krutika Dhananjay
a écrit :<br>
</div>
<blockquote
cite="mid:1136923394.15943782.1457093522324.JavaMail.zimbra@redhat.com"
type="cite">
<div style="font-family: garamond,new york,times,serif; font-size:
12pt; color: #000000">
<div>You could configure read-subvolume for individual clients
using the following mount option:<br>
</div>
<div><br>
</div>
<div>mount -t glusterfs -o
"xlator-option=*replicate*.read-subvolume-index=0"
<hostname>:/<volname> <mountpoint><br>
</div>
<div><br>
</div>
<div>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:<br>
</div>
<div><br>
</div>
<div>mount -t glusterfs -o
"xlator-option=*replicate*.read-subvolume-index=1"
<hostname>:/<volname> <mountpoint></div>
<div><br>
</div>
</div>
</blockquote>
Thanks for that tip!<br>
Just a question: as our clients can migrate beetween buildings (not
often, but it happens), does using something like 'mount -o
"remount,xlator-option=*replicate*.read-subvolume-index=X" …' will
allow the client to point to the new target without stopping volume
availability for clients?<br>
<br>
--<br>
Y.<br>
<blockquote
cite="mid:1136923394.15943782.1457093522324.JavaMail.zimbra@redhat.com"
type="cite">
<div style="font-family: garamond,new york,times,serif; font-size:
12pt; color: #000000">
<div>-Krutika<br>
</div>
<hr id="zwchr">
<blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
</b>"Yannick Perret" <a class="moz-txt-link-rfc2396E" href="mailto:yannick.perret@liris.cnrs.fr"><yannick.perret@liris.cnrs.fr></a><br>
<b>To: </b>"Krutika Dhananjay" <a class="moz-txt-link-rfc2396E" href="mailto:kdhananj@redhat.com"><kdhananj@redhat.com></a><br>
<b>Cc: </b><a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
<b>Sent: </b>Friday, March 4, 2016 3:35:57 PM<br>
<b>Subject: </b>Re: [Gluster-users] Per-client prefered
server?<br>
<div><br>
</div>
</blockquote>
<div><br>
</div>
</div>
</blockquote>
<br>
</body>
</html>