[Gluster-devel] Another question about afr
Albert Shih
Albert.Shih at obspm.fr
Tue Dec 18 17:12:52 UTC 2007
Le 18/12/2007 à 06:07:08+0530, Anand Avati a écrit
> Can you post the client logs from the node where you were unable to ls and also
> the exact output from the shell?
In the shell I've got
ls: .: No such file or directory
And in the log I've got (sorry it's very long)
(as you can imagine quadri11-ns is the node I put down and on where there a the afr volume (with quadri10)
2007-12-18 18:06:11 E [protocol.c:253:gf_block_unserialize_transport] quadri11-ns: EOF from peer (145.238.189.21:6996)
2007-12-18 18:06:11 W [client-protocol.c:4321:client_protocol_cleanup] quadri11-ns: cleaning up state in transport object 0x545c60
2007-12-18 18:06:11 C [tcp.c:81:tcp_disconnect] quadri11-ns: connection disconnected
2007-12-18 18:06:11 D [afr.c:5195:notify] name-space: GF_EVENT_CHILD_DOWN from quadri11-ns
2007-12-18 18:06:11 E [protocol.c:253:gf_block_unserialize_transport] quadri11: EOF from peer (145.238.189.21:6996)
2007-12-18 18:06:11 W [client-protocol.c:4321:client_protocol_cleanup] quadri11: cleaning up state in transport object 0x51d430
2007-12-18 18:06:11 C [tcp.c:81:tcp_disconnect] quadri11: connection disconnected
2007-12-18 18:06:11 D [client-protocol.c:4291:client_protocol_reconnect] quadri11-ns: attempting reconnect
2007-12-18 18:06:11 D [tcp-client.c:70:tcp_connect] quadri11-ns: socket fd = 7
2007-12-18 18:06:11 D [tcp-client.c:88:tcp_connect] quadri11-ns: finalized on port `1023'
2007-12-18 18:06:11 D [tcp-client.c:109:tcp_connect] quadri11-ns: defaulting remote-port to 6996
2007-12-18 18:06:11 D [common-utils.c:161:gf_resolve_ip] resolver: DNS cache not present, freshly probing hostname: 145.238.189.21
2007-12-18 18:06:11 D [common-utils.c:186:gf_resolve_ip] resolver: returning IP:145.238.189.21[0] for hostname: 145.238.189.21
2007-12-18 18:06:11 D [common-utils.c:194:gf_resolve_ip] resolver: flushing DNS cache
2007-12-18 18:06:11 D [tcp-client.c:142:tcp_connect] quadri11-ns: connect on 7 in progress (non-blocking)
2007-12-18 18:06:11 D [tcp-client.c:179:tcp_connect] quadri11-ns: connection on 7 still in progress - try later
2007-12-18 18:06:11 D [client-protocol.c:4291:client_protocol_reconnect] quadri11: attempting reconnect
2007-12-18 18:06:11 D [tcp-client.c:70:tcp_connect] quadri11: socket fd = 9
2007-12-18 18:06:11 D [tcp-client.c:88:tcp_connect] quadri11: finalized on port `1022'
2007-12-18 18:06:11 D [tcp-client.c:109:tcp_connect] quadri11: defaulting remote-port to 6996
2007-12-18 18:06:11 D [common-utils.c:161:gf_resolve_ip] resolver: DNS cache not present, freshly probing hostname: 145.238.189.21
2007-12-18 18:06:11 D [common-utils.c:186:gf_resolve_ip] resolver: returning IP:145.238.189.21[0] for hostname: 145.238.189.21
2007-12-18 18:06:11 D [common-utils.c:194:gf_resolve_ip] resolver: flushing DNS cache
2007-12-18 18:06:11 D [tcp-client.c:142:tcp_connect] quadri11: connect on 9 in progress (non-blocking)
2007-12-18 18:06:11 D [tcp-client.c:179:tcp_connect] quadri11: connection on 9 still in progress - try later
2007-12-18 18:06:12 D [client-protocol.c:4291:client_protocol_reconnect] quadri11-ns: attempting reconnect
2007-12-18 18:06:12 D [tcp-client.c:179:tcp_connect] quadri11-ns: connection on 7 still in progress - try later
2007-12-18 18:06:12 D [client-protocol.c:4291:client_protocol_reconnect] quadri11: attempting reconnect
2007-12-18 18:06:12 D [tcp-client.c:179:tcp_connect] quadri11: connection on 9 still in progress - try later
2007-12-18 18:06:13 D [tcp-client.c:179:tcp_connect] quadri11: connection on 9 still in progress - try later
2007-12-18 18:06:13 W [client-protocol.c:344:client_protocol_xfer] quadri11: not connected at the moment to submit frame type(0) op(34)
2007-12-18 18:06:13 D [tcp-client.c:179:tcp_connect] quadri11-ns: connection on 7 still in progress - try later
2007-12-18 18:06:13 W [client-protocol.c:344:client_protocol_xfer] quadri11-ns: not connected at the moment to submit frame type(0) op(34)
2007-12-18 18:06:14 D [client-protocol.c:4291:client_protocol_reconnect] quadri11-ns: attempting reconnect
2007-12-18 18:06:14 E [tcp-client.c:171:tcp_connect] quadri11-ns: non-blocking connect() returned: 111 (Connection refused)
2007-12-18 18:06:14 D [client-protocol.c:4291:client_protocol_reconnect] quadri11: attempting reconnect
2007-12-18 18:06:14 E [tcp-client.c:171:tcp_connect] quadri11: non-blocking connect() returned: 111 (Connection refused)
2007-12-18 18:06:17 D [client-protocol.c:4291:client_protocol_reconnect] quadri11-ns: attempting reconnect
2007-12-18 18:06:17 D [tcp-client.c:70:tcp_connect] quadri11-ns: socket fd = 7
2007-12-18 18:06:17 D [tcp-client.c:88:tcp_connect] quadri11-ns: finalized on port `1023'
2007-12-18 18:06:17 D [tcp-client.c:109:tcp_connect] quadri11-ns: defaulting remote-port to 6996
2007-12-18 18:06:17 D [common-utils.c:161:gf_resolve_ip] resolver: DNS cache not present, freshly probing hostname: 145.238.189.21
2007-12-18 18:06:17 D [common-utils.c:186:gf_resolve_ip] resolver: returning IP:145.238.189.21[0] for hostname: 145.238.189.21
2007-12-18 18:06:17 D [common-utils.c:194:gf_resolve_ip] resolver: flushing DNS cache
2007-12-18 18:06:17 D [tcp-client.c:142:tcp_connect] quadri11-ns: connect on 7 in progress (non-blocking)
2007-12-18 18:06:17 E [tcp-client.c:171:tcp_connect] quadri11-ns: non-blocking connect() returned: 111 (Connection refused)
2007-12-18 18:06:17 D [client-protocol.c:4291:client_protocol_reconnect] quadri11: attempting reconnect
2007-12-18 18:06:17 D [tcp-client.c:70:tcp_connect] quadri11: socket fd = 7
2007-12-18 18:06:17 D [tcp-client.c:88:tcp_connect] quadri11: finalized on port `1023'
2007-12-18 18:06:17 D [tcp-client.c:109:tcp_connect] quadri11: defaulting remote-port to 6996
2007-12-18 18:06:17 D [common-utils.c:161:gf_resolve_ip] resolver: DNS cache not present, freshly probing hostname: 145.238.189.21
2007-12-18 18:06:17 D [common-utils.c:186:gf_resolve_ip] resolver: returning IP:145.238.189.21[0] for hostname: 145.238.189.21
2007-12-18 18:06:17 D [common-utils.c:194:gf_resolve_ip] resolver: flushing DNS cache
2007-12-18 18:06:17 D [tcp-client.c:142:tcp_connect] quadri11: connect on 7 in progress (non-blocking)
2007-12-18 18:06:17 E [tcp-client.c:171:tcp_connect] quadri11: non-blocking connect() returned: 111 (Connection refused)
In fact the config is
volume quadri10-ns
type protocol/client
option transport-type tcp/client # for TCP/IP transport
option remote-host quadri10
option transport-timeout 30
option remote-subvolume name-space
end-volume
volume quadri11-ns
type protocol/client
option transport-type tcp/client # for TCP/IP transport
option remote-host quadri11
option transport-timeout 30
option remote-subvolume name-space
end-volume
#
# Definition des namespace via afr
#
volume name-space
type cluster/afr
option replicate *:2
subvolumes quadri10-ns quadri11-ns
end-volume
#
# Definition du premier unify
#
volume unify
type cluster/unify
subvolumes node0 node1 node2 etc...
option scheduler nufa
option nufa.local-volume-name quadri11
option nufa.limits.min-free-disk 10%
option namespace name-space
end-volume
Thanks for your help.
Regards.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Mar 18 déc 2007 18:07:26 CET
More information about the Gluster-devel
mailing list