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

2015-06-10 Thread Anuradha Talur


- Original Message -
 From: Ravishankar N ravishan...@redhat.com
 To: Andreas Hollaus andreas.holl...@ericsson.com, 
 gluster-users@gluster.org, Anuradha Talur ata...@redhat.com
 Sent: Wednesday, June 10, 2015 7:09:34 AM
 Subject: Re: [Gluster-users] 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_5_2
  /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_0
  /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_5_3
  /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_1
  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_5_0
  /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_1
  /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_2
  /Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_3
  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@gluster.org
  http://www.gluster.org/mailman/listinfo/gluster-users
 
 

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


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

2015-06-09 Thread Andreas Hollaus
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_5_2
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_0
/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_5_3
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_1
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_5_0
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_1
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_2
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_3
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@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


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

2015-06-09 Thread Ravishankar N
`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_5_2
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_0
/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_5_3
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_1
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_5_0
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_1
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_2
/Mirror_test_150608/FTC_switch/File_both_mp_write_restart/filesystest_5_3
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@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users