On 03/04/2016 12:10 PM, ABHISHEK
PALIWAL wrote:
->>>>> I have checked but ssl
is disabled but still getting these errors
# gluster volume heal
c_glusterfs info
c_glusterfs: Not able
to fetch volfile from glusterd
Volume heal failed.
Ok, just to confirm, glusterd and other brick processes are
running after this node rebooted?
When you run the above command, you need to check
/var/log/glusterfs/glfsheal-volname.log logs errros. Setting
client-log-level to DEBUG would give you a more verbose message
# gluster volume heal
c_glusterfs info split-brain
c_glusterfs: Not
able to fetch volfile from glusterd
Volume heal failed.
And based
on the your observation I understood that this is not
the problem of split-brain but is there any way
through which can find out the file which is not in
split-brain as well as not in sync?
`gluster volume heal c_glusterfs info split-brain`
should give you files that need heal.
# getfattr -m . -d -e hex
/opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml
getfattr: Removing
leading '/' from absolute path names
# file:
opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml
trusted.afr.c_glusterfs-client-0=0x000000000000000000000000
trusted.afr.c_glusterfs-client-2=0x000000000000000000000000
trusted.afr.c_glusterfs-client-4=0x000000000000000000000000
trusted.afr.c_glusterfs-client-6=0x000000000000000000000000
trusted.afr.c_glusterfs-client-8=0x000000060000000000000000
//because client8 is the latest client in our case
and starting 8 digits
00000006....are
saying like there is something in
changelog data.
trusted.afr.dirty=0x000000000000000000000000
trusted.bit-rot.version=0x000000000000001356d86c0c000217fd
trusted.gfid=0x9f5e354ecfda40149ddce7d5ffe760ae
# lhsh 002500
getfattr -m . -d -e hex
/opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml
getfattr: Removing
leading '/' from absolute path names
# file:
opt/lvmdir/c2/brick/logfiles/availability/CELLO_AVAILABILITY2_LOG.xml
trusted.afr.c_glusterfs-client-1=0x000000000000000000000000
// and here we can say that there is no split brain
but the file is out of sync
trusted.afr.dirty=0x000000000000000000000000
trusted.bit-rot.version=0x000000000000001156d86c290005735c
trusted.gfid=0x9f5e354ecfda40149ddce7d5ffe760ae
# gluster volume info
Volume Name:
c_glusterfs
Type: Replicate
Volume ID:
c6a61455-d378-48bf-ad40-7a3ce897fc9c
Status: Started
Number of Bricks: 1 x
2 = 2
Transport-type: tcp
Bricks:
Brick1:
10.32.0.48:/opt/lvmdir/c2/brick
Brick2:
10.32.1.144:/opt/lvmdir/c2/brick
Options Reconfigured:
performance.readdir-ahead:
on
network.ping-timeout:
4
nfs.disable: on
# gluster volume info
Volume Name:
c_glusterfs
Type: Replicate
Volume ID:
c6a61455-d378-48bf-ad40-7a3ce897fc9c
Status: Started
Number of Bricks: 1 x
2 = 2
Transport-type: tcp
Bricks:
Brick1:
10.32.0.48:/opt/lvmdir/c2/brick
Brick2:
10.32.1.144:/opt/lvmdir/c2/brick
Options Reconfigured:
performance.readdir-ahead:
on
network.ping-timeout:
4
nfs.disable: on
# gluster --version
glusterfs 3.7.8 built
on Feb 17 2016 07:49: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.
# gluster volume heal
info heal-failed
Usage: volume heal
<VOLNAME> [enable | disable | full |statistics
[heal-count [replica <HOSTNAME:BRICKNAME>]]
|info [healed | heal-failed | split-brain]
|split-brain {bigger-file <FILE> |source-brick
<HOSTNAME:BRICKNAME> [<FILE>]}]
# gluster volume heal
c_glusterfs info heal-failed
Command not
supported. Please use "gluster volume heal
c_glusterfs info" and logs to find the heal
information.
# lhsh 002500
_______ _____
_____ _____ __ _ _ _ _ _
| |_____]
|_____] | | | \ | | | \___/
|_____ | |
|_____ __|__ | \_| |_____| _/ \_
002500> gluster
--version
glusterfs 3.7.8 built
on Feb 17 2016 07:49: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.
002500>
Regards,
Abhishek
|
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users