<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Yeah, at the moment it would certainly be my advice to other to stick with 3.2... I've just had a quick look, and can't see any docs on downgrading 3.4 to 3.2, don't suppose you're aware of any (or anyone doing this?)<br></div><div><br></div><div>Thanks All<br></div><div><br></div><div>Alex<br></div><div><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Nguyen Viet Cuong" &lt;mrcuongnv@gmail.com&gt;<br><b>To: </b>"Alex Pearson" &lt;alex@apics.co.uk&gt;<br><b>Cc: </b>"Gluster-users@gluster.org List" &lt;gluster-users@gluster.org&gt;<br><b>Sent: </b>Sunday, 8 December, 2013 1:36:32 PM<br><b>Subject: </b>Re: [Gluster-users] replace-brick failing - transport.address-family not specified<br><div><br></div><div dir="ltr"><div>Thanks for sharing.</div><div><br></div><div>Btw, I do believe that GlusterFS 3.2.x is much more stable than 3.4.x in production.</div></div><div class="gmail_extra"><br><div><br></div><div class="gmail_quote">On Sun, Dec 8, 2013 at 9:14 PM, Alex Pearson <span dir="ltr">&lt;<a href="mailto:alex@apics.co.uk" target="_blank">alex@apics.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
Just to assist anyone else having this issue, and so people can correct me if I'm wrong...<br>
<br>
It would appear that replace-brick is 'horribly broken' and should not be used in Gluster 3.4. &nbsp;Instead a combination of "remove-brick ... count X ... start" should be used to remove the resilience from a volume and the brick, then "add-brick ... count X" to add the new brick.<br>

<br>
This does beg the question of why the hell a completely broken command was left in the 'stable' release of the software. &nbsp;This sort of thing really hurts Glusters credibility.<br>
<br>
Ref: <a href="http://www.gluster.org/pipermail/gluster-users/2013-August/036936.html" target="_blank">http://www.gluster.org/pipermail/gluster-users/2013-August/036936.html</a><br>
<br>
Cheers<br>
<span class="HOEnZb"><span style="color: #888888;" data-mce-style="color: #888888;" color="#888888"><br>
Alex<br>
</span></span><div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
From: "Alex Pearson" &lt;<a href="mailto:alex@apics.co.uk" target="_blank">alex@apics.co.uk</a>&gt;<br>
To: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
Sent: Friday, 6 December, 2013 5:25:43 PM<br>
Subject: [Gluster-users] replace-brick failing - transport.address-family &nbsp; &nbsp; &nbsp; not specified<br>
<br>
Hello,<br>
I have what I think is a fairly basic Gluster setup, however when I try to carry out a replace-brick operation it consistently fails...<br>
<br>
Here are the command line options:<br>
<br>
root@osh1:~# gluster volume info media<br>
<br>
Volume Name: media<br>
Type: Replicate<br>
Volume ID: 4c290928-ba1c-4a45-ac05-85365b4ea63a<br>
Status: Started<br>
Number of Bricks: 1 x 2 = 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: osh1.apics.co.uk:/export/sdc/media<br>
Brick2: osh2.apics.co.uk:/export/sdb/media<br>
<br>
root@osh1:~# gluster volume replace-brick media osh1.apics.co.uk:/export/sdc/media osh1.apics.co.uk:/export/WCASJ2055681/media start<br>
volume replace-brick: success: replace-brick started successfully<br>
ID: 60bef96f-a5c7-4065-864e-3e0b2773d7bb<br>
root@osh1:~# gluster volume replace-brick media osh1.apics.co.uk:/export/sdc/media osh1.apics.co.uk:/export/WCASJ2055681/media status<br>
volume replace-brick: failed: Commit failed on localhost. Please check the log file for more details.<br>
<br>
root@osh1:~# tail /var/log/glusterfs/bricks/export-sdc-media.log<br>
[2013-12-06 17:24:54.795754] E [name.c:147:client_fill_address_family] 0-media-replace-brick: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options<br>

[2013-12-06 17:24:57.796422] W [dict.c:1055:data_to_str] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(+0x528b) [0x7fb826e3428b] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fb826e3a25e] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(client_fill_address_family+0x200) [0x7fb826e39f50]))) 0-dict: data is NULL<br>

[2013-12-06 17:24:57.796494] W [dict.c:1055:data_to_str] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(+0x528b) [0x7fb826e3428b] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fb826e3a25e] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(client_fill_address_family+0x20b) [0x7fb826e39f5b]))) 0-dict: data is NULL<br>

[2013-12-06 17:24:57.796519] E [name.c:147:client_fill_address_family] 0-media-replace-brick: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options<br>

[2013-12-06 17:25:00.797153] W [dict.c:1055:data_to_str] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(+0x528b) [0x7fb826e3428b] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fb826e3a25e] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(client_fill_address_family+0x200) [0x7fb826e39f50]))) 0-dict: data is NULL<br>

[2013-12-06 17:25:00.797226] W [dict.c:1055:data_to_str] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(+0x528b) [0x7fb826e3428b] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fb826e3a25e] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(client_fill_address_family+0x20b) [0x7fb826e39f5b]))) 0-dict: data is NULL<br>

[2013-12-06 17:25:00.797251] E [name.c:147:client_fill_address_family] 0-media-replace-brick: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options<br>

[2013-12-06 17:25:03.797811] W [dict.c:1055:data_to_str] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(+0x528b) [0x7fb826e3428b] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fb826e3a25e] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(client_fill_address_family+0x200) [0x7fb826e39f50]))) 0-dict: data is NULL<br>

[2013-12-06 17:25:03.797883] W [dict.c:1055:data_to_str] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(+0x528b) [0x7fb826e3428b] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(socket_client_get_remote_sockaddr+0x4e) [0x7fb826e3a25e] (--&gt;/usr/lib/x86_64-linux-gnu/glusterfs/3.4.1/rpc-transport/socket.so(client_fill_address_family+0x20b) [0x7fb826e39f5b]))) 0-dict: data is NULL<br>

[2013-12-06 17:25:03.797909] E [name.c:147:client_fill_address_family] 0-media-replace-brick: transport.address-family not specified. Could not guess default value from (remote-host:(null) or transport.unix.connect-path:(null)) options<br>

<br>
<br>
I've tried placing the transport.address-family option in various places, however it hasn't helped.<br>
<br>
Any help would be very much appreciated.<br>
<br>
Thanks in advance<br>
<br>
Alex<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Nguyen Viet Cuong<br>
</div>
<br>-- 
<br>This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is
<br>believed to be clean.

</div><div><br></div></div><br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</body></html>