Re: Strange output from gluster volume heal <vol> info split-brain command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> From: "Ravishankar N" <ravishankar@xxxxxxxxxx>
> To: "Andreas Hollaus" <Andreas.Hollaus@xxxxxxxxxxxx>, gluster-users@xxxxxxxxxxx, "Anuradha Talur" <atalur@xxxxxxxxxx>
> Sent: Wednesday, June 10, 2015 7:09:34 AM
> Subject: Re:  Strange output from gluster volume heal <vol> info split-brain command
> 
> `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.
> 

As Ravi said, info split-brain should work correctly in glusterfs 3.7 .

> -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

However in glusterfs 3.6.2, info split-brain wouldn't always provide updated
information. In glusterfs 3.6.2, you can gather required information from heal info,
or restarting self-heal daemon should also give you updated split-brain list.

> >
> > # 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@xxxxxxxxxxx
> > http://www.gluster.org/mailman/listinfo/gluster-users
> 
> 

-- 
Thanks,
Anuradha.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux