<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Here is the line that gets thrown in that log file (which I wasn't
aware of - thanks Anirban)<br>
<br>
[2013-12-18 20:31:21.005913] : volume add-brick iso_domain replica
2 gluster2.data:/glusterfs/iso_domain : FAILED : <br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Dne 18. 12. 2013 21:27, piše Anirban
Ghoshal:<br>
</div>
<blockquote
cite="mid:1387398439.78214.YahooMailNeo@web193901.mail.sg3.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div><span>Ok, I am not associated with, or part of the
glusterFS development team in any way; I fact I only started
using glusterfs since the past 3-4 months or so, but I have
often observed that useful info might be found at <log
file dir>/.cmd_history.log, which is, in your case,</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span>/var/log/glusterfs/.cmd_history.log</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><br>
<span></span></div>
<div style="display: block;" class="yahoo_quoted"> <br>
<br>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div dir="ltr"> <font face="Arial" size="2"> On
Wednesday, 18 December 2013 8:08 PM, Saša Friedrich
<a class="moz-txt-link-rfc2396E" href="mailto:sasa.friedrich@bitlab.si"><sasa.friedrich@bitlab.si></a> wrote:<br>
</font> </div>
<div class="y_msg_container">
<div id="yiv4633943067">
<div> Hi!<br>
<br>
I have some trouble adding a brick to existing
gluster volume.<br>
<br>
When I try to (in CLI):<br>
<br>
<blockquote>gluster> volume add-brick data_domain
replica 3 gluster2.data:/glusterfs/data_domain<br>
<br>
</blockquote>
I get:<br>
<br>
<blockquote>volume add-brick: failed:<br>
<br>
</blockquote>
I probed the peer successfully, peer status returns:<br>
<br>
<blockquote>Hostname: gluster3.data<br>
Uuid: e694f552-636a-4cf3-a04f-997ec87a880c<br>
State: Peer in Cluster (Connected)<br>
<br>
Hostname: gluster2.data<br>
Port: 24007<br>
Uuid: 36922d4c-55f2-4cc6-85b9-a9541e5619a2<br>
State: Peer in Cluster (Connected)<br>
<br>
</blockquote>
Existing volume info:<br>
<br>
<blockquote>Volume Name: data_domain<br>
Type: Replicate<br>
Volume ID: ae096e7d-cf0c-46ed-863a-9ecc3e8ce288<br>
Status: Started<br>
Number of Bricks: 1 x 2 = 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: gluster1.data:/glusterfs/data_domain<br>
Brick2: gluster3.data:/glusterfs/data_domain<br>
Options Reconfigured:<br>
storage.owner-gid: 36<br>
storage.owner-uid: 36<br>
server.allow-insecure: on<br>
network.remote-dio: enable<br>
cluster.eager-lock: enable<br>
performance.stat-prefetch: off<br>
performance.io-cache: off<br>
performance.read-ahead: off<br>
performance.quick-read: off<br>
</blockquote>
<br>
Only thing I found in log is:<br>
<br>
<blockquote>(/var/log/glusterfs/cli.log)<br>
[2013-12-18 12:09:17.281310] W
[cli-rl.c:106:cli_rl_process_line] 0-glusterfs:
failed to process line<br>
[2013-12-18 12:10:07.650267] I
[cli-rpc-ops.c:332:gf_cli_list_friends_cbk] 0-cli:
Received resp to list: 0<br>
<br>
(/var/log/glusterfs/etc-glusterfs-glusterd.vol.log)<br>
[2013-12-18 12:12:38.887911] I
[glusterd-brick-ops.c:370:__glusterd_handle_add_brick]
0-management: Received add brick req<br>
[2013-12-18 12:12:38.888064] I
[glusterd-brick-ops.c:417:__glusterd_handle_add_brick]
0-management: replica-count is 3<br>
[2013-12-18 12:12:38.888124] I
[glusterd-brick-ops.c:256:gd_addbr_validate_replica_count]
0-management: Changing the replica count of volume
data_domain from 2 to 3<br>
</blockquote>
<br>
I'm running some VM-s on this volume so I'd really
like to avoid restarting glusterd service.<br>
OS is FC19, kernel 3.11.10-200.fc19.x86_64,
glusterfs.x86_64 3.4.1-1.fc19<br>
<br>
<br>
tnx for help!<br>
</div>
</div>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a moz-do-not-send="true"
ymailto="mailto:Gluster-users@gluster.org"
href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a moz-do-not-send="true"
href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"
target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>