<p dir="ltr"></p>
<p dir="ltr">Sent from one plus one<br>
On Jun 22, 2015 7:31 PM, &quot;Andreas Hollaus&quot; &lt;<a href="mailto:andreas.hollaus@ericsson.com">andreas.hollaus@ericsson.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Well, I don&#39;t really know what to expect, but there actually are some errors:<br>
&gt; Could it be due to that missing extended attribute? I don&#39;t understand why it&#39;s missing (yet).<br>
You are correct. Missing volume-id could be the problem, I will check the code and confirm tomorrow.<br>
&gt;<br>
&gt; Regards<br>
&gt; Andreas<br>
&gt;<br>
&gt; # more /var/log/glusterfs/bricks/opt-lvmdir-c2-brick.log <br>
&gt; [2015-06-22 13:23:47.924071] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/s<br>
&gt; bin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.6.2 (args: /usr/s<br>
&gt; bin/glusterfsd -s 10.32.0.64 --volfile-id c_glstr.10.32.0.64.opt-lvmdir-c2-brick<br>
&gt;  -p /system/glusterd/vols/c_glstr/run/10.32.0.64-opt-lvmdir-c2-brick.pid -S /var<br>
&gt; /run/67a3053b5f738d0e72fb517a245687f1.socket --brick-name /opt/lvmdir/c2/brick -<br>
&gt; l /var/log/glusterfs/bricks/opt-lvmdir-c2-brick.log --xlator-option *-posix.glus<br>
&gt; terd-uuid=c7de0c97-ca3a-47a4-bc7d-21fc33b88fee --brick-port 49152 --xlator-optio<br>
&gt; n c_glstr-server.listen-port=49152)<br>
&gt; [2015-06-22 13:23:47.959891] I [graph.c:269:gf_add_cmdline_options] 0-c_glstr-se<br>
&gt; rver: adding option &#39;listen-port&#39; for volume &#39;c_glstr-server&#39; with value &#39;49152&#39;<br>
&gt; [2015-06-22 13:23:47.959949] I [graph.c:269:gf_add_cmdline_options] 0-c_glstr-po<br>
&gt; six: adding option &#39;glusterd-uuid&#39; for volume &#39;c_glstr-posix&#39; with value &#39;c7de0c<br>
&gt; 97-ca3a-47a4-bc7d-21fc33b88fee&#39;<br>
&gt; [2015-06-22 13:23:47.961541] I [rpcsvc.c:2142:rpcsvc_set_outstanding_rpc_limit] <br>
&gt; 0-rpc-service: Configured rpc.outstanding-rpc-limit with value 64<br>
&gt; [2015-06-22 13:23:47.961656] W [options.c:898:xl_opt_validate] 0-c_glstr-server:<br>
&gt;  option &#39;listen-port&#39; is deprecated, preferred is &#39;transport.socket.listen-port&#39;<br>
&gt; , continuing with correction<br>
&gt; [2015-06-22 13:23:47.964258] E [posix.c:5626:init] 0-c_glstr-posix: Extended att<br>
&gt; ribute trusted.glusterfs.volume-id is absent<br>
&gt; [2015-06-22 13:23:47.964291] E [xlator.c:425:xlator_init] 0-c_glstr-posix: Initi<br>
&gt; alization of volume &#39;c_glstr-posix&#39; failed, review your volfile again<br>
&gt; [2015-06-22 13:23:47.964310] E [graph.c:322:glusterfs_graph_init] 0-c_glstr-posi<br>
&gt; x: initializing translator failed<br>
&gt; [2015-06-22 13:23:47.964330] E [graph.c:525:glusterfs_graph_activate] 0-graph: i<br>
&gt; nit failed<br>
&gt; [2015-06-22 13:23:47.965149] W [glusterfsd.c:1194:cleanup_and_exit] (--&gt; 0-: rec<br>
&gt; eived signum (0), shutting down<br>
&gt; [2015-06-22 13:25:48.579077] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/s<br>
&gt; bin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.6.2 (args: /usr/s<br>
&gt; bin/glusterfsd -s 10.32.0.64 --volfile-id c_glstr.10.32.0.64.opt-lvmdir-c2-brick<br>
&gt;  -p /system/glusterd/vols/c_glstr/run/10.32.0.64-opt-lvmdir-c2-brick.pid -S /var<br>
&gt; /run/67a3053b5f738d0e72fb517a245687f1.socket --brick-name /opt/lvmdir/c2/brick -<br>
&gt; l /var/log/glusterfs/bricks/opt-lvmdir-c2-brick.log --xlator-option *-posix.glus<br>
&gt; terd-uuid=c7de0c97-ca3a-47a4-bc7d-21fc33b88fee --brick-port 49152 --xlator-optio<br>
&gt; n c_glstr-server.listen-port=49152)<br>
&gt; [2015-06-22 13:25:48.592801] I [graph.c:269:gf_add_cmdline_options] 0-c_glstr-se<br>
&gt; rver: adding option &#39;listen-port&#39; for volume &#39;c_glstr-server&#39; with value &#39;49152&#39;<br>
&gt; [2015-06-22 13:25:48.592855] I [graph.c:269:gf_add_cmdline_options] 0-c_glstr-po<br>
&gt; six: adding option &#39;glusterd-uuid&#39; for volume &#39;c_glstr-posix&#39; with value &#39;c7de0c<br>
&gt; 97-ca3a-47a4-bc7d-21fc33b88fee&#39;<br>
&gt; [2015-06-22 13:25:48.594307] I [rpcsvc.c:2142:rpcsvc_set_outstanding_rpc_limit] <br>
&gt; 0-rpc-service: Configured rpc.outstanding-rpc-limit with value 64<br>
&gt; [2015-06-22 13:25:48.594420] W [options.c:898:xl_opt_validate] 0-c_glstr-server:<br>
&gt;  option &#39;listen-port&#39; is deprecated, preferred is &#39;transport.socket.listen-port&#39;<br>
&gt; , continuing with correction<br>
&gt; [2015-06-22 13:25:48.596705] W [graph.c:344:_log_if_unknown_option] 0-c_glstr-se<br>
&gt; rver: option &#39;rpc-auth.auth-glusterfs&#39; is not recognized<br>
&gt; [2015-06-22 13:25:48.596741] W [graph.c:344:_log_if_unknown_option] 0-c_glstr-se<br>
&gt; rver: option &#39;rpc-auth.auth-unix&#39; is not recognized<br>
&gt; [2015-06-22 13:25:48.596770] W [graph.c:344:_log_if_unknown_option] 0-c_glstr-se<br>
&gt; rver: option &#39;rpc-auth.auth-null&#39; is not recognized<br>
&gt; [2015-06-22 13:25:48.596809] W [graph.c:344:_log_if_unknown_option] 0-c_glstr-qu<br>
&gt; ota: option &#39;timeout&#39; is not recognized<br>
&gt; Final graph:<br>
&gt; +------------------------------------------------------------------------------+<br>
&gt;   1: volume c_glstr-posix<br>
&gt;   2:     type storage/posix<br>
&gt;   3:     option glusterd-uuid c7de0c97-ca3a-47a4-bc7d-21fc33b88fee<br>
&gt;   4:     option directory /opt/lvmdir/c2/brick<br>
&gt;   5:     option volume-id e052572c-c7ad-4d66-986f-621fbc48999e<br>
&gt;   6: end-volume<br>
&gt;   7:  <br>
&gt;   8: volume c_glstr-changelog<br>
&gt;   9:     type features/changelog<br>
&gt;  10:     option changelog-brick /opt/lvmdir/c2/brick<br>
&gt;  11:     option changelog-dir /opt/lvmdir/c2/brick/.glusterfs/changelogs<br>
&gt;  12:     option changelog-barrier-timeout 120<br>
&gt;  13:     subvolumes c_glstr-posix<br>
&gt;  14: end-volume<br>
&gt;  15:  <br>
&gt;  16: volume c_glstr-access-control<br>
&gt;  17:     type features/access-control<br>
&gt;  18:     subvolumes c_glstr-changelog<br>
&gt;  19: end-volume<br>
&gt;  20:  <br>
&gt;  21: volume c_glstr-locks<br>
&gt;  22:     type features/locks<br>
&gt;  23:     subvolumes c_glstr-access-control<br>
&gt;  24: end-volume<br>
&gt;  25:  <br>
&gt;  26: volume c_glstr-io-threads<br>
&gt;  27:     type performance/io-threads<br>
&gt;  28:     subvolumes c_glstr-locks<br>
&gt;  29: end-volume<br>
&gt;  30:  <br>
&gt;  31: volume c_glstr-barrier<br>
&gt;  32:     type features/barrier<br>
&gt;  33:     option barrier disable<br>
&gt;  34:     option barrier-timeout 120<br>
&gt;  35:     subvolumes c_glstr-io-threads<br>
&gt;  36: end-volume<br>
&gt;  37:  <br>
&gt;  38: volume c_glstr-index<br>
&gt;  39:     type features/index<br>
&gt;  40:     option index-base /opt/lvmdir/c2/brick/.glusterfs/indices<br>
&gt;  41:     subvolumes c_glstr-barrier<br>
&gt;  42: end-volume<br>
&gt;  43:  <br>
&gt;  44: volume c_glstr-marker<br>
&gt;  45:     type features/marker<br>
&gt;  46:     option volume-uuid e052572c-c7ad-4d66-986f-621fbc48999e<br>
&gt;  47:     option timestamp-file /system/glusterd/vols/c_glstr/marker.tstamp<br>
&gt;  48:     option xtime off<br>
&gt;  49:     option gsync-force-xtime off<br>
&gt;  50:     option quota off<br>
&gt;  51:     subvolumes c_glstr-index<br>
&gt;  52: end-volume<br>
&gt;  53:  <br>
&gt;  54: volume c_glstr-quota<br>
&gt;  55:     type features/quota<br>
&gt;  56:     option volume-uuid c_glstr<br>
&gt;  57:     option server-quota off<br>
&gt;  58:     option timeout 0<br>
&gt;  59:     option deem-statfs off<br>
&gt;  60:     subvolumes c_glstr-marker<br>
&gt;  61: end-volume<br>
&gt;  62:  <br>
&gt;  63: volume /opt/lvmdir/c2/brick<br>
&gt;<br>
&gt;  64:     type debug/io-stats<br>
&gt;  65:     option latency-measurement off<br>
&gt;  66:     option count-fop-hits off<br>
&gt;  67:     subvolumes c_glstr-quota<br>
&gt;  68: end-volume<br>
&gt;  69:  <br>
&gt;  70: volume c_glstr-server<br>
&gt;  71:     type protocol/server<br>
&gt;  72:     option transport.socket.listen-port 49152<br>
&gt;  73:     option rpc-auth.auth-glusterfs on<br>
&gt;  74:     option rpc-auth.auth-unix on<br>
&gt;  75:     option rpc-auth.auth-null on<br>
&gt;  76:     option transport-type tcp<br>
&gt;  77:     option auth.login./opt/lvmdir/c2/brick.allow b860abc7-dfeb-402c-baf3-ef<br>
&gt; 13f1c3bb52<br>
&gt;  78:     option auth.login.b860abc7-dfeb-402c-baf3-ef13f1c3bb52.password db5d45c<br>
&gt; 9-58f7-49ad-8080-9197eb69695e<br>
&gt;  79:     option auth.addr./opt/lvmdir/c2/brick.allow *<br>
&gt;  80:     subvolumes /opt/lvmdir/c2/brick<br>
&gt;  81: end-volume<br>
&gt;  82:  <br>
&gt; +------------------------------------------------------------------------------+<br>
&gt; [2015-06-22 13:25:49.738346] I [login.c:82:gf_auth] 0-auth/login: allowed user n<br>
&gt; ames: b860abc7-dfeb-402c-baf3-ef13f1c3bb52<br>
&gt; [2015-06-22 13:25:49.738399] I [server-handshake.c:585:server_setvolume] 0-c_gls<br>
&gt; tr-server: accepted client from oamhost-1994-2015/06/22-13:23:51:485466-c_glstr-<br>
&gt; client-1-0-0 (version: 3.6.2)<br>
&gt; [2015-06-22 13:25:49.744199] I [login.c:82:gf_auth] 0-auth/login: allowed user n<br>
&gt; ames: b860abc7-dfeb-402c-baf3-ef13f1c3bb52<br>
&gt; [2015-06-22 13:25:49.744238] I [server-handshake.c:585:server_setvolume] 0-c_gls<br>
&gt; tr-server: accepted client from oamhost-1898-2015/06/22-13:23:46:623908-c_glstr-<br>
&gt; client-1-0-0 (version: 3.6.2)<br>
&gt; [2015-06-22 13:25:49.762796] I [login.c:82:gf_auth] 0-auth/login: allowed user n<br>
&gt; ames: b860abc7-dfeb-402c-baf3-ef13f1c3bb52<br>
&gt; [2015-06-22 13:25:49.762834] I [server-handshake.c:585:server_setvolume] 0-c_gls<br>
&gt; tr-server: accepted client from oamhost-3395-2015/06/22-13:25:49:733813-c_glstr-<br>
&gt; client-1-0-0 (version: 3.6.2)<br>
&gt; [2015-06-22 13:25:49.882096] I [server.c:518:server_rpc_notify] 0-c_glstr-server<br>
&gt; : disconnecting connection from oamhost-1898-2015/06/22-13:23:46:623908-c_glstr-<br>
&gt; client-1-0-0<br>
&gt; [2015-06-22 13:25:49.882150] I [client_t.c:417:gf_client_unref] 0-c_glstr-server<br>
&gt; : Shutting down connection oamhost-1898-2015/06/22-13:23:46:623908-c_glstr-clien<br>
&gt; t-1-0-0<br>
&gt; [2015-06-22 13:25:50.465176] I [login.c:82:gf_auth] 0-auth/login: allowed user n<br>
&gt; ames: b860abc7-dfeb-402c-baf3-ef13f1c3bb52<br>
&gt; [2015-06-22 13:25:50.465214] I [server-handshake.c:585:server_setvolume] 0-c_gls<br>
&gt; tr-server: accepted client from oamhost-2130-2015/06/22-13:23:48:74682-c_glstr-c<br>
&gt; lient-1-0-0 (version: 3.6.2)<br>
&gt; [2015-06-22 13:25:50.912886] I [login.c:82:gf_auth] 0-auth/login: allowed user n<br>
&gt; ames: b860abc7-dfeb-402c-baf3-ef13f1c3bb52<br>
&gt; [2015-06-22 13:25:50.912931] I [server-handshake.c:585:server_setvolume] 0-c_gls<br>
&gt; tr-server: accepted client from oamhost-5400-2015/06/22-13:25:57:519410-c_glstr-<br>
&gt; client-1-0-0 (version: 3.6.2)<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Andreas<br>
&gt;<br>
&gt;<br>
&gt; On 6/22/2015 3:45 PM, Atin Mukherjee wrote:<br>
&gt;&gt;<br>
&gt;&gt; Sent from one plus one<br>
&gt;&gt; On Jun 22, 2015 7:06 PM, &quot;Andreas Hollaus&quot; &lt;<a href="mailto:Andreas.Hollaus@ericsson.com">Andreas.Hollaus@ericsson.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I keep having this situation where I have to start the volume using the force<br>
&gt;&gt; &gt; option.Why isn&#39;t the volume started without this?<br>
&gt;&gt; &gt; It seems to have these problems after a node restart, but I expected the volume to be<br>
&gt;&gt; &gt; restarted properly whenever the service is restarted.<br>
&gt;&gt; Do you see anything abnormal in glusterd/ brick logs pre and post restart? <br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards<br>
&gt;&gt; &gt; Andreas<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 06/22/15 10:40, Andreas Hollaus wrote:<br>
&gt;&gt; &gt; &gt; Hi,<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; Well that did the trick. Thanks!<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; Regards<br>
&gt;&gt; &gt; &gt; Andreas<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; On 06/22/15 10:07, Sakshi Bansal wrote:<br>
&gt;&gt; &gt; &gt;&gt; Both the bricks are down. Can you run -<br>
&gt;&gt; &gt; &gt;&gt; $ gluster volume start &lt;volume-name&gt; force<br>
&gt;&gt; &gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; &gt; Gluster-users mailing list<br>
&gt;&gt; &gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt; &gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Gluster-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;<br>
&gt;<br>
</p>