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

Andreas Hollaus Andreas.Hollaus at ericsson.com
Tue Jun 9 14:38:39 UTC 2015


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


More information about the Gluster-users mailing list