[Gluster-users] Strange output from gluster volume heal <vol> info split-brain command

Ravishankar N ravishankar at redhat.com
Wed Jun 10 01:39:34 UTC 2015


`info split-brain` has been re-implemented in in glusterfs 3.7 (the 
logic is now in glfs-heal.c) and should work correctly. CC'in Anuradha 
who implemented it for confirmation.

-Ravi

On 06/09/2015 08:08 PM, Andreas Hollaus wrote:
> Hi,
>
> I detected a directory in split-brain on my file system, but I'm surprised that
> 'gluster volume heal <vol> info split-brain' doesn't report it.
> I would have expected it to show only split-brain issues, compared to 'gluster volume
> heal <vol> info' that shows more info
> regarding the healing process. Isn't this strange?
>
> # pwd
> /c/Mirror_test_150608/FTC_switch
> # gluster volume heal c_glstr info
> Brick oamhost:/opt/lvmdir/c2/brick/
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00002
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00000
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart - Is in split-brain
>
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00003
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00001
> Number of entries: 5
>
> Brick oamhost:/opt/lvmdir/c2/brick/
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart - Is in split-brain
>
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00000
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00001
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00002
> /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_00005_00003
> Number of entries: 5
>
> # gluster volume heal c_glstr info split-brain
> Gathering list of split brain entries on volume c_glstr has been successful
>
> Brick 10.32.0.48:/opt/lvmdir/c2/brick
> Number of entries: 0
>
> Brick 10.32.1.144:/opt/lvmdir/c2/brick
> Number of entries: 0
>
> # gluster --version
> glusterfs 3.6.2 built on Apr 22 2015 02:02:49
> Repository revision: git://git.gluster.com/glusterfs.git
> Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
> GlusterFS comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of GlusterFS under the terms of the GNU General Public
> License.
>
>
> Regards
> Andreas
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list