Hello list, I have a replicated (two nodes) volume called "thedude1". When I issue the commands: ~$ gluster volume heal thedude1 full ~$ gluster volume heal thedude1 info I get this output : Gathering Heal info on volume thedude1 has been successful Brick gluster-1.hoggins.fr:/export/brick1/thedude Number of entries: 4 <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> Brick gluster-2.hoggins.fr:/export/brick1/thedude Number of entries: 8 <gfid:701e0dcc-ac34-47a6-b9cc-7437de5d8af6> <gfid:ad78e51c-b58c-4e4a-a01a-5dc4962f1027> <gfid:9dfcf4e0-1df7-47d8-a7f1-2fedec8ab39f> <gfid:19a3b2b8-e00c-4915-85a3-560e693e0ff3> <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> Then, when I check for a split-brain condition, using : ~$ gluster volume heal thedude1 info split-brain I get this : Gathering Heal info on volume thedude1 has been successful Brick gluster-1.hoggins.fr:/export/brick1/thedude Number of entries: 292 at path on brick ----------------------------------- 2013-11-04 15:10:41 <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> 2013-11-04 15:10:41 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-04 15:10:41 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> 2013-11-04 15:10:41 <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> <-------------------------SNIP SNIP -- LOTS of entries--------------------------------------> 2013-11-04 02:50:33 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-04 02:50:33 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> 2013-11-04 02:50:33 <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> Brick gluster-2.hoggins.fr:/export/brick1/thedude Number of entries: 1023 at path on brick ----------------------------------- 2013-11-04 15:05:30 <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> 2013-11-04 15:05:30 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-04 15:05:30 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> 2013-11-04 15:05:30 <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> 2013-11-04 14:55:30 <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> 2013-11-04 14:55:30 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-04 14:55:30 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> 2013-11-04 14:55:30 <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> 2013-11-04 14:45:30 <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> 2013-11-04 14:45:30 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-04 14:45:30 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> <-------------------------SNIP SNIP -- LOTS of entries--------------------------------------> 2013-11-02 20:14:54 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-02 20:14:54 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> 2013-11-02 20:14:54 <gfid:2b320ac9-f5e6-4153-a942-ee27685d1b70> 2013-11-02 20:04:54 <gfid:e838b58c-de7d-4816-bb4f-dda5dca51f46> 2013-11-02 20:04:54 <gfid:ebfd9b97-f7c4-4a12-89c0-1a22ed15cf03> 2013-11-02 20:04:54 <gfid:bbc2bb09-db85-4069-b225-e70f33a8c649> Question is : how do I manage this issue ? I know how to handle it with "regular" files, but not with raw gfids. A quick howto would be the best. Thanks in advance. Hoggins!
Vijay Bellur
2013-Nov-05 01:55 UTC
[Gluster-users] Solving healing and split-brain problems
On 11/04/2013 11:20 PM, Hoggins! wrote:> Hello list, > > I have a replicated (two nodes) volume called "thedude1". > > When I issue the commands: > > ~$ gluster volume heal thedude1 full > ~$ gluster volume heal thedude1 info > > > Question is : how do I manage this issue ? I know how to handle it with > "regular" files, but not with raw gfids. > A quick howto would be the best. >Could this be of help: https://github.com/gluster/glusterfs/blob/master/doc/split-brain.md Thanks, Vijay