<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 June 2015 at 07:38, 何亦军 <span dir="ltr">&lt;<a href="mailto:heyijun@greatwall.com.cn" target="_blank">heyijun@greatwall.com.cn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="ZH-CN">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi, <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">         I have done gluster upgrade to 3.7.1, then after downgrade back 3.6.2.    I don’t know something wrong, the server brick become to offline.  How to fix that problem?  Thanks so much.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">    [root@gwgfs01 ~]# gluster volume status<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Status of volume: vol01<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Gluster process                                         Port    Online  Pid<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">------------------------------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Brick gwgfs01:/data/brick1/vol01                        N/A     N       N/A<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Brick gwgfs03:/data/brick2/vol01                        49152   Y       17566<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Brick gwgfs01:/data/brick2/vol01                        N/A     N       N/A<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Brick gwgfs02:/data/brick2/vol01                        49152   Y       4109<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Brick gwgfs02:/data/brick1/vol01                        49153   Y       4121<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Brick gwgfs03:/data/brick1/vol01                        49153   Y       17623<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Self-heal Daemon on localhost                           N/A     Y       12720<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Quota Daemon on localhost                               N/A     Y       12727<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Self-heal Daemon on gwgfs02                             N/A     Y       4412<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Quota Daemon on gwgfs02                                 N/A     Y       4422<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Self-heal Daemon on gwgfs03                             N/A     Y       17642<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Quota Daemon on gwgfs03                                 N/A     Y       17652<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Task Status of Volume vol01<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">------------------------------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Task                 : Rebalance<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">ID                   : 0bb30902-e7d3-4b2f-9c83-b708ebbad592<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">Status               : failed<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">some log in data-brick1-vol01.log :<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">[2015-06-15 02:06:54.757968] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.6.2 (args: /usr/sbin/glusterfsd
 -s gwgfs01 --volfile-id vol01.gwgfs01.data-brick1-vol01 -p /var/lib/glusterd/vols/vol01/run/gwgfs01-data-brick1-vol01.pid -S /var/run/ecf2e5c591c01357cf33cbaf3b700bc6.socket --brick-name /data/brick1/vol01 -l /var/log/glusterfs/bricks/data-brick1-vol01.log
 --xlator-option *-posix.glusterd-uuid=b80f71d0-6944-4236-af96-e272a1f7e739 --brick-port 49152 --xlator-option vol01-server.listen-port=49152)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">[2015-06-15 02:06:56.808733] W [xlator.c:191:xlator_dynload] 0-xlator: /usr/lib64/glusterfs/3.6.2/xlator/features/trash.so: cannot open shared object file: No such
 file or directory<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">[2015-06-15 02:06:56.808793] E [graph.y:212:volume_type] 0-parser: Volume &#39;vol01-trash&#39;, line 9: type &#39;features/trash&#39; is not valid or not found on this machine<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">[2015-06-15 02:06:56.808896] E [graph.y:321:volume_end] 0-parser: &quot;type&quot; not specified for volume vol01-trash<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">[2015-06-15 02:06:56.809044] E [MSGID: 100026] [glusterfsd.c:1892:glusterfs_process_volfp] 0-: failed to construct the graph<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US">[2015-06-15 02:06:56.809369] W [glusterfsd.c:1194:cleanup_and_exit] (--&gt; 0-: received signum (0), shutting down</span></p></div></div></blockquote><div><br></div><div>I&#39;m not an expert here in analysing the logs, But looks like trash xlator (which is present only in 3.7.x) is causing problems. Because the feature is unavailable in 3.6.x versions. It&#39;s picking up the wrong volfile maybe?<br><br></div><div>Also did you downgrade the whole setup or just the part of the cluster?<br><br></div><div>Cheers,<br></div><div>Vishwanath<br><br></div><div><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="ZH-CN"><div><p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US"><u></u><u></u></span></p>
</div>
</div>

<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>