Hi Krishna, I am getting this error "Transport endpoint is not connected" on one of my clients when I try to use the configuration below. Any ideas what could have gone wrong? Thank you. 1: ############################################# 2: ## GlusterFS Client Volume Specification ## 3: ############################################# 4: 5: # the exported volume to mount # required! 6: volume cluster 7: type protocol/client 8: option transport-type tcp/client 9: 10: option remote-host lb.world.net 11: option remote-subvolume gfs # exported volume 12: option transport-timeout 5 # value in seconds, should be relatively low 13: end-volume 14: 15: # the exported volume to mount # required! 16: volume cluster2 17: type protocol/client 18: option transport-type tcp/client 19: 20: option remote-host lb2.world.net 21: option remote-subvolume gfs # exported volume 22: option transport-timeout 5 # value in seconds, should be relatively low 23: end-volume 24: 25: volume glusterfs-ha 26: type cluster/ha 27: subvolumes cluster2 cluster 28: end-volume 29: 30: 31: +----- 2009-01-08 16:54:29 D [spec.y:187:new_section] parser: New node for 'cluster' 2009-01-08 16:54:29 D [xlator.c:421:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/1.4.0rc7/xlator/protocol/client.so 2009-01-08 16:54:29 D [spec.y:213:section_type] parser: Type:cluster:protocol/client 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster:transport-type:tcp/client 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster:remote-host:lb.world.net 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster:remote-subvolume:gfs 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster:transport-timeout:5 2009-01-08 16:54:29 D [spec.y:372:section_end] parser: end:cluster 2009-01-08 16:54:29 D [spec.y:187:new_section] parser: New node for 'cluster2' 2009-01-08 16:54:29 D [xlator.c:421:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/1.4.0rc7/xlator/protocol/client.so 2009-01-08 16:54:29 D [spec.y:213:section_type] parser: Type:cluster2:protocol/client 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster2:transport-type:tcp/client 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster2:remote-host:lb2.world.net 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster2:remote-subvolume:gfs 2009-01-08 16:54:29 D [spec.y:288:section_option] parser: Option:cluster2:transport-timeout:5 2009-01-08 16:54:29 D [spec.y:372:section_end] parser: end:cluster2 2009-01-08 16:54:29 D [spec.y:187:new_section] parser: New node for 'glusterfs-ha' 2009-01-08 16:54:29 D [xlator.c:421:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/1.4.0rc7/xlator/cluster/ha.so 2009-01-08 16:54:29 D [xlator.c:471:xlator_set_type] glusterfs-ha: strict option validation not enforced -- neglecting 2009-01-08 16:54:29 D [spec.y:213:section_type] parser: Type:glusterfs-ha:cluster/ha 2009-01-08 16:54:29 D [spec.y:357:section_sub] parser: child:glusterfs-ha->cluster2 2009-01-08 16:54:29 D [spec.y:357:section_sub] parser: child:glusterfs-ha->cluster 2009-01-08 16:54:29 D [spec.y:372:section_end] parser: end:glusterfs-ha 2009-01-08 16:54:29 D [xlator.c:421:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/1.4.0rc7/xlator/mount/fuse.so 2009-01-08 16:54:29 D [glusterfsd.c:1049:main] glusterfs: running in pid 9776 2009-01-08 16:54:29 D [client-protocol.c:5989:init] cluster2: setting transport-timeout to 5 2009-01-08 16:54:29 D [transport.c:141:transport_load] transport: attempt to load file /usr/lib/glusterfs/1.4.0rc7/transport/socket.so 2009-01-08 16:54:29 D [xlator.c:551:xlator_init_rec] cluster2: Initialization done 2009-01-08 16:54:29 D [client-protocol.c:5989:init] cluster: setting transport-timeout to 5 2009-01-08 16:54:29 D [transport.c:141:transport_load] transport: attempt to load file /usr/lib/glusterfs/1.4.0rc7/transport/socket.so 2009-01-08 16:54:29 D [xlator.c:551:xlator_init_rec] cluster: Initialization done 2009-01-08 16:54:29 D [xlator.c:551:xlator_init_rec] glusterfs-ha: Initialization done 2009-01-08 16:54:29 D [client-protocol.c:6302:notify] cluster2: got GF_EVENT_PARENT_UP, attempting connect on transport 2009-01-08 16:54:29 D [client-protocol.c:6302:notify] cluster: got GF_EVENT_PARENT_UP, attempting connect on transport 2009-01-08 16:54:29 D [client-protocol.c:6302:notify] cluster2: got GF_EVENT_PARENT_UP, attempting connect on transport 2009-01-08 16:54:29 D [client-protocol.c:6302:notify] cluster: got GF_EVENT_PARENT_UP, attempting connect on transport 2009-01-08 16:54:29 D [inode.c:990:inode_table_new] fuse: creating new inode table with lru_limit=0 2009-01-08 16:54:29 D [inode.c:455:__inode_create] fuse/inode: create inode(0) 2009-01-08 16:54:30 D [client-protocol.c:5690:client_protocol_reconnect] cluster2: attempting reconnect 2009-01-08 16:54:30 D [name.c:214:af_inet_client_get_remote_sockaddr] cluster2: option remote-port missing in volume cluster2. Defaulting to 6996 2009-01-08 16:54:30 D [common-utils.c:92:gf_resolve_ip6] resolver: DNS cache not present, freshly probing hostname: lb2.world.net 2009-01-08 16:54:30 D [common-utils.c:129:gf_resolve_ip6] resolver: returning ip-192.168.89.152 (port-6996) for hostname: lb2.world.net and port: 6996 2009-01-08 16:54:30 D [client-protocol.c:5690:client_protocol_reconnect] cluster: attempting reconnect 2009-01-08 16:54:30 D [name.c:214:af_inet_client_get_remote_sockaddr] cluster: option remote-port missing in volume cluster. Defaulting to 6996 2009-01-08 16:54:30 D [common-utils.c:92:gf_resolve_ip6] resolver: DNS cache not present, freshly probing hostname: lb.world.net 2009-01-08 16:54:30 D [common-utils.c:129:gf_resolve_ip6] resolver: returning ip-192.168.89.160 (port-6996) for hostname: lb.world.net and port: 6996 2009-01-08 16:54:33 D [client-protocol.c:6334:notify] cluster2: got GF_EVENT_CHILD_UP 2009-01-08 16:54:33 D [socket.c:924:socket_connect] cluster2: connect () called on transport already connected 2009-01-08 16:54:33 D [client-protocol.c:5631:client_setvolume_cbk] cluster2: SETVOLUME on remote-host succeeded 2009-01-08 16:54:33 E [ha.c:4301:notify] glusterfs-ha: GF_EVENT_CHILD_UP from cluster2 2009-01-08 16:54:33 E [ha.c:4310:notify] glusterfs-ha: switching "active" from -1 to cluster2 2009-01-08 16:54:33 D [client-protocol.c:6334:notify] cluster: got GF_EVENT_CHILD_UP 2009-01-08 16:54:33 D [socket.c:924:socket_connect] cluster: connect () called on transport already connected 2009-01-08 16:54:33 D [client-protocol.c:5631:client_setvolume_cbk] cluster: SETVOLUME on remote-host succeeded 2009-01-08 16:54:33 E [ha.c:4301:notify] glusterfs-ha: GF_EVENT_CHILD_UP from cluster 2009-01-08 16:54:40 D [client-protocol.c:5699:client_protocol_reconnect] cluster2: breaking reconnect chain 2009-01-08 16:54:40 D [client-protocol.c:5699:client_protocol_reconnect] cluster: breaking reconnect chain 2009-01-08 16:54:52 D [inode.c:280:__inode_activate] fuse/inode: activating inode(1), lru=0/0 active=1 purge=0 2009-01-08 16:54:52 D [fuse-bridge.c:1944:fuse_statfs] glusterfs-fuse: 2: STATFS 2009-01-08 16:54:52 E [ha-helpers.c:243:_ha_next_active_child_for_ctx] glusterfs-ha: failed to get the state from inode->ctx 2009-01-08 16:54:52 E [ha.c:3289:ha_statfs] glusterfs-ha: no active subvolume 2009-01-08 16:54:52 E [fuse-bridge.c:1912:fuse_statfs_cbk] glusterfs-fuse: 2: ERR => -1 (Transport endpoint is not connected) -----Original Message----- From: krishna.zresearch@xxxxxxxxx [mailto:krishna.zresearch@xxxxxxxxx] On Behalf Of Krishna Srinivas Sent: Friday, December 26, 2008 9:36 PM To: Melvin Wong Cc: Raghavendra G; gluster-devel@xxxxxxxxxx Subject: Re: 1.4.0 and HA Translator Melvin, Those messages should have been "debug" messages, it has been changed in the latest code. You can ignore those messages as "errors". Krishna On Fri, Dec 26, 2008 at 4:44 PM, Melvin Wong <melvin.wong@xxxxxxxxx> wrote: > Hi Krishna, > I am trying to add HA translator to my client config. But I get: > > 2008-12-26 19:08:57 W [write-behind.c:1363:init] writeback: > aggregate-size is not zero, disabling flush-behind > 2008-12-26 19:08:57 W [write-behind.c:1363:init] writeback2: > aggregate-size is not zero, disabling flush-behind > 2008-12-26 19:08:58 E [ha.c:4301:notify] glusterfs-ha: GF_EVENT_CHILD_UP > from io-cache > 2008-12-26 19:08:58 E [ha.c:4310:notify] glusterfs-ha: switching > "active" from -1 to io-cache > 2008-12-26 19:08:58 E [ha.c:4301:notify] glusterfs-ha: GF_EVENT_CHILD_UP