Lakshmi Anusha
2015-Aug-11 09:58 UTC
[Gluster-users] split-brain files not shown in "gluster volume heal info split-brain" command
Hello, We are using glusterfs version 3.7.2. There are few i/o errors reported during our testing and i/o errors are due to split brain files. We tried to find the split brain files with "gluster volume heal <vol> info split-brain". But strangely the command shows that the number of split brain files count is zero. ################################################################################## # Brick1> gluster volume heal c_glusterfs info split-brain Brick oamhost:/opt/lvmdir/c2/brick/ Number of entries in split-brain: 0 Brick oamhost:/opt/lvmdir/c2/brick/ Number of entries in split-brain: 0 # # Brick2> gluster volume heal c_glusterfs info split-brain Brick oamhost:/opt/lvmdir/c2/brick/ Number of entries in split-brain: 0 Brick oamhost:/opt/lvmdir/c2/brick/ Number of entries in split-brain: 0 ################################################################################## We checked below commands on the files on which IO errors are reported i.e config.ior ################################################################################## 000300> cat config.ior IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000000010000000000000058000102000000000C31302E36372E32392E333600DE020000000000255374616E64617264496D706C4E616D652F4E616D655365727665722D504F412F5F726F6F74000000000000010000000000000008000000004A414300 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 ##################################################################################>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? Kindly let us know if any known issue exists. Thanks & Regards, Lakshmi Anusha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150811/9fe6df95/attachment.html>
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>