[Gluster-users] State: Peer Rejected (Connected)

YANG ChengFu youngseph at gmail.com
Fri Jan 11 16:00:05 UTC 2013


Hello Fu Yong Tao,

thanks for your suggest, after I did your steps, I got the following:

gluster> volume sync new-host
please delete all the volumes before full sync
gluster> peer status
Number of Peers: 1

Hostname: 10.136.200.27
Uuid: 184a81f4-ff0f-48d6-adb8-798b98957b1a
State: Accepted peer request (Connected)

I still can not put the server in the truested pool !

--
Yang
Orange Key: 35745318S1


On Fri, Jan 11, 2013 at 5:22 AM, 符永涛 <yongtaofu at gmail.com> wrote:

> Reinstall gluster server or upgrade is a dangerous task before it it's
> better to backup /etc/glusterfs /var/lib/glusterd.
>
> /var/lib/glusterd/glusterd.info contains the uuid of current server
> and /var/lib/glusterd/peers contain it's peers
> make sure above two files are all correct
>
> If other servers status are fine then with only above configuration
> files you can start current host and gluster volumes files will
> automatically sync to current host.
>
> Always remember backup
>
> 2013/1/11, YANG ChengFu <youngseph at gmail.com>:
> > Hello,
> >
> > I did an upgrade glusterfs from 3.0.5 to 3.3.1, before I did it, I have
> > other two 3.3.1 hosts(new-host) ready and made a cluster.
> >
> > After I upgraded old hosts, I tried to add them to the cluster,  I
> > got State: Peer Rejected (Connected), for sure it could be about same
> > volumes on the old  hosts, but I have tried to stop glusterd, remove
> > everything from the old host, such /etc/glusterd, /etc/glusterfs
> > and /var/lib/glusterd/, and start glusterd, then I readded it to cluster,
> > the problem is still there.
> >
> > I also did 'volume sync', but I failed, because of the following error
> > message
> >
> > gluster> volume sync new-hosts
> > please delete all the volumes before full sync
> >
> > I can not do it, or I will lose all my data!
> >
> > The most funny thing I found, even if the peer status is rejected, but I
> > can mount the volume from the old host.
> >
> > Any ideas !
> >
> > --
> > Yang
> > Orange Key: 35745318S1
> >
>
>
> --
> 符永涛
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130111/b69f89fa/attachment.html>


More information about the Gluster-users mailing list