<div dir="ltr">Hello Fu Yong Tao,<div><br></div><div style>thanks for your suggest, after I did your steps, I got the following:</div><div style><br></div><div style><div>gluster&gt; volume sync new-host</div><div>please delete all the volumes before full sync</div>
<div>gluster&gt; peer status </div><div>Number of Peers: 1</div><div><br></div><div>Hostname: 10.136.200.27</div><div>Uuid: 184a81f4-ff0f-48d6-adb8-798b98957b1a</div><div>State: Accepted peer request (Connected)</div><div>
<br></div><div style>I still can not put the server in the truested pool !</div></div></div><div class="gmail_extra"><br clear="all"><div>--<br>Yang<br><div><span>Orange Key: </span>35745318S1</div></div>
<br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 5:22 AM, 符永涛 <span dir="ltr">&lt;<a href="mailto:yongtaofu@gmail.com" target="_blank">yongtaofu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Reinstall gluster server or upgrade is a dangerous task before it it&#39;s<br>
better to backup /etc/glusterfs /var/lib/glusterd.<br>
<br>
/var/lib/glusterd/<a href="http://glusterd.info" target="_blank">glusterd.info</a> contains the uuid of current server<br>
and /var/lib/glusterd/peers contain it&#39;s peers<br>
make sure above two files are all correct<br>
<br>
If other servers status are fine then with only above configuration<br>
files you can start current host and gluster volumes files will<br>
automatically sync to current host.<br>
<br>
Always remember backup<br>
<br>
2013/1/11, YANG ChengFu &lt;<a href="mailto:youngseph@gmail.com">youngseph@gmail.com</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt; Hello,<br>
&gt;<br>
&gt; I did an upgrade glusterfs from 3.0.5 to 3.3.1, before I did it, I have<br>
&gt; other two 3.3.1 hosts(new-host) ready and made a cluster.<br>
&gt;<br>
&gt; After I upgraded old hosts, I tried to add them to the cluster,  I<br>
&gt; got State: Peer Rejected (Connected), for sure it could be about same<br>
&gt; volumes on the old  hosts, but I have tried to stop glusterd, remove<br>
&gt; everything from the old host, such /etc/glusterd, /etc/glusterfs<br>
&gt; and /var/lib/glusterd/, and start glusterd, then I readded it to cluster,<br>
&gt; the problem is still there.<br>
&gt;<br>
&gt; I also did &#39;volume sync&#39;, but I failed, because of the following error<br>
&gt; message<br>
&gt;<br>
&gt; gluster&gt; volume sync new-hosts<br>
&gt; please delete all the volumes before full sync<br>
&gt;<br>
&gt; I can not do it, or I will lose all my data!<br>
&gt;<br>
&gt; The most funny thing I found, even if the peer status is rejected, but I<br>
&gt; can mount the volume from the old host.<br>
&gt;<br>
&gt; Any ideas !<br>
&gt;<br>
&gt; --<br>
&gt; Yang<br>
&gt; Orange Key: 35745318S1<br>
&gt;<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
符永涛<br>
</font></span></blockquote></div><br></div>