<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hello,</tt><tt><br>
</tt><tt>thin-arbiter is currently a glusterd2
(<a class="moz-txt-link-freetext" href="https://github.com/gluster/glusterd2/">https://github.com/gluster/glusterd2/</a>) based solution only
supporting only creation of new thin-arbiter volumes. If you want
to try it out, you would need to do so using the GD2 command line
interface. We're still ironing out a few bugs in it though.</tt><tt><br>
</tt><tt>Hope that helps,</tt><tt><br>
</tt><tt>Ravi</tt><br>
<br>
<div class="moz-cite-prefix">On 12/31/2018 04:34 PM, Strahil Nikolov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1808501733.11056405.1546254299459@mail.yahoo.com">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:16px">
<div id="yui_3_16_0_ym19_1_1546251147528_2993">Hello Community,</div>
<div><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_4343">I'm new
to glusterfs and I hope if I ask silly questions to just lead
me to the correct doc page.</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_3201"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_3138">I am
using oVirt for lab with a gluster 3 arbiter 1 volumes which
were created by the ovirt interface.</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_3139"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_3140">Everything
is fine , but as my arbiter is far away - the latency is
killing my performance.Thankfully gluster has a nice option
called thin-arbiter , but I would like to not destroy the
current volumes.</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_3181"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_3182">Can
someone tell me how to replace an arbiter with thin-arbiter as
add-brick (after removal of current one) <b>doesn't have the
option</b> for 'thin-arbiter' ?</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_5050">Am I
using an <b id="yui_3_16_0_ym19_1_1546251147528_5056">old
version</b> which do not have the thin-arbiter ?<br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_4345"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_4346">Here is
some output:</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_4698"><br>
</div>
# glusterfs --version<br
id="yui_3_16_0_ym19_1_1546251147528_4888">
glusterfs 3.12.2<br id="yui_3_16_0_ym19_1_1546251147528_4889">
<br id="yui_3_16_0_ym19_1_1546251147528_4890">
# gluster volume info engine<br
id="yui_3_16_0_ym19_1_1546251147528_4891">
<br id="yui_3_16_0_ym19_1_1546251147528_4892">
Volume Name: engine<br id="yui_3_16_0_ym19_1_1546251147528_4893">
Type: Replicate<br id="yui_3_16_0_ym19_1_1546251147528_4894">
Volume ID: daddea78-204d-42b5-9794-11d5518d61e0<br
id="yui_3_16_0_ym19_1_1546251147528_4895">
Status: Started<br id="yui_3_16_0_ym19_1_1546251147528_4896">
Snapshot Count: 0<br id="yui_3_16_0_ym19_1_1546251147528_4897">
Number of Bricks: 1 x (2 + 1) = 3<br
id="yui_3_16_0_ym19_1_1546251147528_4898">
Transport-type: tcp<br id="yui_3_16_0_ym19_1_1546251147528_4899">
Bricks:<br id="yui_3_16_0_ym19_1_1546251147528_4900">
Brick1: ovirt1.localdomain:/gluster_bricks/engine/engine<br
id="yui_3_16_0_ym19_1_1546251147528_4901">
Brick2: ovirt2.localdomain:/gluster_bricks/engine/engine<br
id="yui_3_16_0_ym19_1_1546251147528_4902">
Brick3: glarbiter.localdomain:/gluster_bricks/engine/engine
(arbiter)<br id="yui_3_16_0_ym19_1_1546251147528_4903">
Options Reconfigured:<br
id="yui_3_16_0_ym19_1_1546251147528_4904">
performance.client-io-threads: on<br
id="yui_3_16_0_ym19_1_1546251147528_4905">
nfs.disable: on<br id="yui_3_16_0_ym19_1_1546251147528_4906">
transport.address-family: inet<br
id="yui_3_16_0_ym19_1_1546251147528_4907">
performance.quick-read: off<br
id="yui_3_16_0_ym19_1_1546251147528_4908">
performance.read-ahead: off<br
id="yui_3_16_0_ym19_1_1546251147528_4909">
performance.io-cache: off<br
id="yui_3_16_0_ym19_1_1546251147528_4910">
performance.low-prio-threads: 32<br
id="yui_3_16_0_ym19_1_1546251147528_4911">
network.remote-dio: off<br
id="yui_3_16_0_ym19_1_1546251147528_4912">
cluster.eager-lock: enable<br
id="yui_3_16_0_ym19_1_1546251147528_4913">
cluster.quorum-type: auto<br
id="yui_3_16_0_ym19_1_1546251147528_4914">
cluster.server-quorum-type: server<br
id="yui_3_16_0_ym19_1_1546251147528_4915">
cluster.data-self-heal-algorithm: full<br
id="yui_3_16_0_ym19_1_1546251147528_4916">
cluster.locking-scheme: granular<br
id="yui_3_16_0_ym19_1_1546251147528_4917">
cluster.shd-max-threads: 8<br
id="yui_3_16_0_ym19_1_1546251147528_4918">
cluster.shd-wait-qlength: 10000<br
id="yui_3_16_0_ym19_1_1546251147528_4919">
features.shard: on<br id="yui_3_16_0_ym19_1_1546251147528_4920">
user.cifs: off<br id="yui_3_16_0_ym19_1_1546251147528_4921">
cluster.choose-local: off<br
id="yui_3_16_0_ym19_1_1546251147528_4922">
client.event-threads: 4<br
id="yui_3_16_0_ym19_1_1546251147528_4923">
server.event-threads: 4<br
id="yui_3_16_0_ym19_1_1546251147528_4924">
storage.owner-uid: 36<br
id="yui_3_16_0_ym19_1_1546251147528_4925">
storage.owner-gid: 36<br
id="yui_3_16_0_ym19_1_1546251147528_4926">
network.ping-timeout: 30<br
id="yui_3_16_0_ym19_1_1546251147528_4927">
performance.strict-o-direct: on<br
id="yui_3_16_0_ym19_1_1546251147528_4928">
cluster.granular-entry-heal: enable<br
id="yui_3_16_0_ym19_1_1546251147528_4929">
<br id="yui_3_16_0_ym19_1_1546251147528_4930">
# gluster volume remove-brick engine replica 2
glarbiter.localdomain:/gluster_bricks/engine/engine
force
ain:/gluster_bricks/engine/engine force<br
id="yui_3_16_0_ym19_1_1546251147528_4931">
Removing brick(s) can result in data loss. Do you want to
Continue? (y/n) y<br id="yui_3_16_0_ym19_1_1546251147528_4932">
volume remove-brick commit force: success<br
id="yui_3_16_0_ym19_1_1546251147528_4933">
<br id="yui_3_16_0_ym19_1_1546251147528_4934">
# gluster volume info engine<br
id="yui_3_16_0_ym19_1_1546251147528_4935">
<br id="yui_3_16_0_ym19_1_1546251147528_4936">
Volume Name: engine<br id="yui_3_16_0_ym19_1_1546251147528_4937">
Type: Replicate<br id="yui_3_16_0_ym19_1_1546251147528_4938">
Volume ID: daddea78-204d-42b5-9794-11d5518d61e0<br
id="yui_3_16_0_ym19_1_1546251147528_4939">
Status: Started<br id="yui_3_16_0_ym19_1_1546251147528_4940">
Snapshot Count: 0<br id="yui_3_16_0_ym19_1_1546251147528_4941">
Number of Bricks: 1 x 2 = 2<br
id="yui_3_16_0_ym19_1_1546251147528_4942">
Transport-type: tcp<br id="yui_3_16_0_ym19_1_1546251147528_4943">
Bricks:<br id="yui_3_16_0_ym19_1_1546251147528_4944">
Brick1: ovirt1.localdomain:/gluster_bricks/engine/engine<br
id="yui_3_16_0_ym19_1_1546251147528_4945">
Brick2: ovirt2.localdomain:/gluster_bricks/engine/engine<br
id="yui_3_16_0_ym19_1_1546251147528_4946">
Options Reconfigured:<br
id="yui_3_16_0_ym19_1_1546251147528_4947">
performance.client-io-threads: on<br
id="yui_3_16_0_ym19_1_1546251147528_4948">
nfs.disable: on<br id="yui_3_16_0_ym19_1_1546251147528_4949">
transport.address-family: inet<br
id="yui_3_16_0_ym19_1_1546251147528_4950">
performance.quick-read: off<br
id="yui_3_16_0_ym19_1_1546251147528_4951">
performance.read-ahead: off<br
id="yui_3_16_0_ym19_1_1546251147528_4952">
performance.io-cache: off<br
id="yui_3_16_0_ym19_1_1546251147528_4953">
performance.low-prio-threads: 32<br
id="yui_3_16_0_ym19_1_1546251147528_4954">
network.remote-dio: off<br
id="yui_3_16_0_ym19_1_1546251147528_4955">
cluster.eager-lock: enable<br
id="yui_3_16_0_ym19_1_1546251147528_4956">
cluster.quorum-type: auto<br
id="yui_3_16_0_ym19_1_1546251147528_4957">
cluster.server-quorum-type: server<br
id="yui_3_16_0_ym19_1_1546251147528_4958">
cluster.data-self-heal-algorithm: full<br
id="yui_3_16_0_ym19_1_1546251147528_4959">
cluster.locking-scheme: granular<br
id="yui_3_16_0_ym19_1_1546251147528_4960">
cluster.shd-max-threads: 8<br
id="yui_3_16_0_ym19_1_1546251147528_4961">
cluster.shd-wait-qlength: 10000<br
id="yui_3_16_0_ym19_1_1546251147528_4962">
features.shard: on<br id="yui_3_16_0_ym19_1_1546251147528_4963">
user.cifs: off<br id="yui_3_16_0_ym19_1_1546251147528_4964">
cluster.choose-local: off<br
id="yui_3_16_0_ym19_1_1546251147528_4965">
client.event-threads: 4<br
id="yui_3_16_0_ym19_1_1546251147528_4966">
server.event-threads: 4<br
id="yui_3_16_0_ym19_1_1546251147528_4967">
storage.owner-uid: 36<br
id="yui_3_16_0_ym19_1_1546251147528_4968">
storage.owner-gid: 36<br
id="yui_3_16_0_ym19_1_1546251147528_4969">
network.ping-timeout: 30<br
id="yui_3_16_0_ym19_1_1546251147528_4970">
performance.strict-o-direct: on<br
id="yui_3_16_0_ym19_1_1546251147528_4971">
cluster.granular-entry-heal: enable<br
id="yui_3_16_0_ym19_1_1546251147528_4972">
<br id="yui_3_16_0_ym19_1_1546251147528_4973">
# gluster volume add-brick engine replica 2 thin-arbiter 1
glarbiter.localdomain:/gluster_bricks/engine/engine force<br
id="yui_3_16_0_ym19_1_1546251147528_4974">
Wrong brick type: thin-arbiter, use
<HOSTNAME>:<export-dir-abs-path><br
id="yui_3_16_0_ym19_1_1546251147528_4975">
<br id="yui_3_16_0_ym19_1_1546251147528_4976">
Usage:<br id="yui_3_16_0_ym19_1_1546251147528_4977">
volume add-brick <VOLNAME> [<stripe|replica>
<COUNT> [arbiter <COUNT>]] <NEW-BRICK> ...
[force]<br id="yui_3_16_0_ym19_1_1546251147528_4978">
<br id="yui_3_16_0_ym19_1_1546251147528_4979">
# gluster volume add-brick engine replica 3 arbiter 1
glarbiter.localdomain:/gluster_bricks/engine/engine force<br
id="yui_3_16_0_ym19_1_1546251147528_4980">
volume add-brick: success<br
id="yui_3_16_0_ym19_1_1546251147528_4981">
<div id="yui_3_16_0_ym19_1_1546251147528_4991"><br>
</div>
<div id="yui_3_16_0_ym19_1_1546251147528_5006" dir="ltr">#
gluster volume create<br
id="yui_3_16_0_ym19_1_1546251147528_5024">
<br id="yui_3_16_0_ym19_1_1546251147528_5025">
Usage:<br id="yui_3_16_0_ym19_1_1546251147528_5026">
volume create <NEW-VOLNAME> [stripe <COUNT>]
[replica <COUNT> [arbiter <COUNT>]] [disperse
[<COUNT>]] [disperse-data <COUNT>] [redundancy
<COUNT>] [transport <tcp|rdma|tcp,rdma>]
<NEW-BRICK>?<vg_name>... [force]<br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_4685"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Thanks in advance for your help.</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_5079"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_5078">Best
Regards,</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1546251147528_5077">Strahil
Nikolov<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>