[Gluster-users] geo-replication status 'corrupt' and can't clear this status

Vijaykumar Koppad vkoppad at redhat.com
Mon Oct 8 05:41:31 UTC 2012


Hi, 

  If geo-rep logs says master is corrupt , then it must be because xtimes are corrupt,
then you need to turn off and turn on the indexing to fix than state. But if the status only says corrupt,
it can be because of many reason. If you send the geo-rep logs , it'll be helpful to debug proper cause. 

Thanks 
-Vijaykumar 

----- Original Message -----
From: "미래성공남박은준" <truelifer at naver.com>
To: gluster-users at gluster.org
Sent: Tuesday, September 25, 2012 4:23:25 PM
Subject: [Gluster-users] geo-replication status 'corrupt' and can't clear this status



hi, 


I got a msg after doing this command(sudo gluster volume geo-replication status) 



MASTER SLAVE STATUS 
-------------------------------------------------------------------------------- 
object-manager gluster://10.251.5.1:geo-object-manager corrupt 




so I did this command(sudo gluster volume set object-manager geo-replication.indexing on) to clear this status. log below 

[2012-09-25 09:38:03.991194] I [glusterd-handler.c:1729:glusterd_handle_gsync_set] 0-: master not found, while handlinggeo-replication options 
[2012-09-25 09:38:03.991245] I [glusterd-handler.c:1736:glusterd_handle_gsync_set] 0-: slave not not found, whilehandling geo-replication options 
[2012-09-25 09:38:03.991290] I [glusterd-utils.c:243:glusterd_lock] 0-glusterd: Cluster lock held by 26ce3eaa-ed38-474c-8dc3-4c63464b295a 
[2012-09-25 09:38:03.991305] I [glusterd-handler.c:420:glusterd_op_txn_begin] 0-glusterd: Acquired local lock 
[2012-09-25 09:38:03.991768] I [glusterd-rpc-ops.c:758:glusterd3_1_cluster_lock_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 09:38:03.991830] I [glusterd-op-sm.c:6737:glusterd_op_ac_send_stage_op] 0-glusterd: Sent op req to 1 peers 
[2012-09-25 09:38:03.992142] I [glusterd-rpc-ops.c:1056:glusterd3_1_stage_op_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 09:38:04.182485] I [glusterd-op-sm.c:6854:glusterd_op_ac_send_commit_op] 0-glusterd: Sent op req to 1 peers 
[2012-09-25 09:38:04.182816] I [glusterd-rpc-ops.c:1242:glusterd3_1_commit_op_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 09:38:04.183162] I [glusterd-rpc-ops.c:817:glusterd3_1_cluster_unlock_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 09:38:04.183215] I [glusterd-op-sm.c:7250:glusterd_op_txn_complete] 0-glusterd: Cleared local lock 
[2012-09-25 09:38:04.185857] W [socket.c:1494:__socket_proto_state_machine] 0-socket.management: reading from socket failed. Error (Transport endpoint is not connected), peer (127.0.0.1:1020) 




and do this command(sudo gluster volume set object-manager geo-replication.indexing on). log below 

[2012-09-25 10:48:11.994094] W [socket.c:1494:__socket_proto_state_machine] 0-socket.management: reading from socket failed. Error (Transport endpoint is not connected), peer (127.0.0.1:1020) 
[2012-09-25 10:48:16.76174] I [glusterd-handler.c:796:glusterd_handle_cli_get_volume] 0-glusterd: Received get vol req 
[2012-09-25 10:48:16.76857] I [glusterd-handler.c:796:glusterd_handle_cli_get_volume] 0-glusterd: Received get vol req 
[2012-09-25 10:48:16.79213] W [socket.c:1494:__socket_proto_state_machine] 0-socket.management: reading from socket failed. Error (Transport endpoint is not connected), peer (127.0.0.1:1020) 
[2012-09-25 10:48:38.3159] I [glusterd-handler.c:1729:glusterd_handle_gsync_set] 0-: master not found, while handlinggeo-replication options 
[2012-09-25 10:48:38.3224] I [glusterd-handler.c:1736:glusterd_handle_gsync_set] 0-: slave not not found, whilehandling geo-replication options 
[2012-09-25 10:48:38.3278] I [glusterd-utils.c:243:glusterd_lock] 0-glusterd: Cluster lock held by 26ce3eaa-ed38-474c-8dc3-4c63464b295a 
[2012-09-25 10:48:38.3296] I [glusterd-handler.c:420:glusterd_op_txn_begin] 0-glusterd: Acquired local lock 
[2012-09-25 10:48:38.3734] I [glusterd-rpc-ops.c:758:glusterd3_1_cluster_lock_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 10:48:38.3790] I [glusterd-op-sm.c:6737:glusterd_op_ac_send_stage_op] 0-glusterd: Sent op req to 1 peers 
[2012-09-25 10:48:38.4083] I [glusterd-rpc-ops.c:1056:glusterd3_1_stage_op_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 10:48:38.189599] I [glusterd-op-sm.c:6854:glusterd_op_ac_send_commit_op] 0-glusterd: Sent op req to 1 peers 
[2012-09-25 10:48:38.190021] I [glusterd-rpc-ops.c:1242:glusterd3_1_commit_op_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 10:48:38.190357] I [glusterd-rpc-ops.c:817:glusterd3_1_cluster_unlock_cbk] 0-glusterd: Received ACC from uuid: 0546f091-36f5-4bd2-b9a8-a80a3bd9872d 
[2012-09-25 10:48:38.190383] I [glusterd-op-sm.c:7250:glusterd_op_txn_complete] 0-glusterd: Cleared local lock 
[2012-09-25 10:48:38.192709] W [socket.c:1494:__socket_proto_state_machine] 0-socket.management: reading from socket failed. Error (Transport endpoint is not connected), peer (127.0.0.1:1020) 






but status is same. 
what do I have to do clear geo-replication configuration? 


regards 


Ethan Park. 
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list