Ravishankar N
2015-Aug-12 12:08 UTC
[Gluster-users] split-brain files not shown in "gluster volume heal info split-brain" command
On 08/11/2015 03:28 PM, Lakshmi Anusha wrote:> From the extended attributes, an entry split-brain seems to be > appeared. Since gfid is different for the original file and its replica. > Can you please let us know why the split-brain files are not shown in > "gluster volume heal <vol> info split-brain" command?** For gfid mismatches, 'info split-brain` should indicate that the parent directory of that file is in split-brain. Strange that it isn't. If you still have the setup, can you provide the getfattr output of the parent dir on both bricks? Also, does `gluster vol heal <vol> info ` list the file or the parent dir?> Kindly let us know if any known issue exists.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150812/c2a6d148/attachment.html>
Andreas Hollaus
2015-Aug-13 14:12 UTC
[Gluster-users] split-brain files not shown in "gluster volume heal info split-brain" command
Hi, Isn't the trusted.afr.dirty attribute missing from Brick 2? Shouldn't it be increased and decreased, but never removed? Could that be the reason why GlusterFS is confused? What could be the reason for gfid mismatches? Regards Andreas> Brick1> getfattr -d -m . -e hex config.ior > # file: config.ior > trusted.afr.c_glusterfs-client-5=0x000000000000000000000000 > trusted.afr.dirty=0x000000000000000000000000 > trusted.bit-rot.version=0x000000000000000255c0c95f0002ebc7 > trusted.gfid=0xa88805cdad454e71b30a97f88fdceed8 > > Brick2> cat config.ior > IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000000010000000000000058000102000000000C31302E36372E32392E333600DE020000000000255374616E64617264496D706C4E616D652F4E616D655365727665722D504F412F5F726F6F74000000000000010000000000000008000000004A414300 > Brick2> getfattr -d -m . -e hex config.ior > # file: config.ior > trusted.afr.c_glusterfs-client-4=0x000000040000000100000000 > trusted.bit-rot.version=0x000000000000000255c0e3cf0006246e > trusted.gfid=0x0b6d4b8a18c247f8abf59065eb85beb2 > ##################################################################################On 08/12/15 14:08, Ravishankar N wrote:> > > On 08/11/2015 03:28 PM, Lakshmi Anusha wrote: >> From the extended attributes, an entry split-brain seems to be appeared. Since >> gfid is different for the original file and its replica. >> Can you please let us know why the split-brain files are not shown in "gluster >> volume heal <vol> info split-brain" command? > > For gfid mismatches, 'info split-brain` should indicate that the parent directory > of that file is in split-brain. Strange that it isn't. > If you still have the setup, can you provide the getfattr output of the parent dir > on both bricks? Also, does `gluster vol heal <vol> info ` list the file or the > parent dir? > >> Kindly let us know if any known issue exists. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150813/22e55e4a/attachment.html>