Hi ,? I recenlty configured the 2 node replica glusterfs , and I am having couple of issues? 1. As soon ?as a I reboot the node2 , the glusterfs on node1 is not available but when I reboot/shutdown node1 the glusterfs is available on node 0 , so please let me know if you guys have encountered the same issue 2. I am not able to mount the glusterfs mount at the time of reboot I had to do manually mount everytime. node1:/gv0 ?/mnt/gluster glusterfs defaults,_netdev 1 2 is the options I am using in fstab? Thanks ,? Rishi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130627/e8c166cc/attachment.html>
----- Original Message -----> From: "k varma" <rishikirank at yahoo.co.in> > To: gluster-users at gluster.org > Sent: Wednesday, June 26, 2013 2:17:34 PM > Subject: [Gluster-users] HI Guys > > Hi , > > I recenlty configured the 2 node replica glusterfs , and I am having couple > of issues > > 1. As soon as a I reboot the node2 , the glusterfs on node1 is not available > but when I reboot/shutdown node1 the glusterfs is available on node 0 , so > please let me know if you guys have encountered the same issue > > 2. I am not able to mount the glusterfs mount at the time of reboot I had to > do manually mount everytime. > > node1:/gv0 /mnt/gluster glusterfs defaults,_netdev 1 2 is the options I am > using in fstabI have seen some NICs that take longer to initialize not be available for when network devices are mounted. You can tell by checking the gluster mount logs and look for something like: [2013-04-26 13:22:34.393113] E [socket.c:1715:socket_connect_finish] 0-glusterfs: connection to failed (No route to host) [2013-04-26 13:22:34.393489] E [glusterfsd-mgmt.c:1786:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: Transport endpoint is not connected I think /etc/sysconfig/network-scripts/ifcfg-* supports a LINKDELAY variable which cause the network scripts to delay $LINKDELAY number of seconds. In the cases where I have seen this we didn't need to add the link delay parameter, there was some NW config changes that resolved the issue. HTH -b> > Thanks , > Rishi > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users
On 06/26/2013 11:17 AM, k varma wrote:> I recenlty configured the 2 node replica glusterfs , and I am having > couple of issuesAssuming node=server so we have a two server replica 2 volume.> 1. As soon as a I reboot the node2,Which could be either server since they're peers. I'm going to assume one of the servers is named "node2" and we're referring to that.> the glusterfs on node1 is not availableI must now assume that "node1" is a client and that client cannot mount the volume. Based on the fstab entry below I'm going to guess that node1 is also a server. Make sure that glusterd is enabled, "chkconfig glusterd on". Also make sure you're using the official packages from download.gluster.org. There were some distro packages that had the boot order wrong.> but when I reboot/shutdown node1 the glusterfs is available on node 0 > , so please let me know if you guys have encountered the same issueYou shutdown and ... what is node0? Is this a third server? Just a client? We now have three nodes referenced. node0, node1, and node2. I'm having to guess at which are clients and which are servers. Perhaps it might be easier to use the terms, server and client, in order to cause less confusion.> 2. I am not able to mount the glusterfs mount at the time of reboot I > had to do manually mount everytime. > > node1:/gv0 /mnt/gluster glusterfs defaults,_netdev 1 2 is the options > I am using in fstabThat always works for me, except I use rrdns and the hostname, "glusterfs" has A records for each of my servers. This allows me to use "glusterfs:/myvol" and the mount will succeed even if I have a server out for maintenance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130626/a8f517c6/attachment.html>