[Gluster-users] glusterfs3.4.2-1 split-brain question

Khoi Mai KHOIMAI at UP.COM
Fri Sep 25 14:01:44 UTC 2015


the gfid looks the same.  I'm not sure what gluster volume heal info 
split-brain is reporting when the GFID matches, and for all 4 nodes in the 
devstatic volume.

[root at omhq1b4f ~]# getfattr -h -d -m trusted.gfid -e hex /static/content/
getfattr: Removing leading '/' from absolute path names
# file: static/content/
trusted.gfid=0x00000000000000000000000000000001

[root at omhq1b4f ~]# stat /static/content/
  File: `/static/content/'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: fd02h/64770d    Inode: 536871040   Links: 90
Access: (0775/drwxrwxr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-02-02 09:06:27.073528000 -0600
Modify: 2014-12-23 10:13:00.823641000 -0600
Change: 2015-09-25 08:42:44.524336543 -0500
[root at omhq1b4f ~]#

[root at omdx1b51 ~]# getfattr -h -d -m trusted.gfid -e hex /static/content/
getfattr: Removing leading '/' from absolute path names
# file: static/content/
trusted.gfid=0x00000000000000000000000000000001


[root at omdx1b51 ~]# stat /static/content/
  File: `/static/content/'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: fd02h/64770d    Inode: 536871040   Links: 90
Access: (0775/drwxrwxr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-02-02 09:06:27.073528000 -0600
Modify: 2014-12-23 10:13:00.823641000 -0600
Change: 2015-09-25 08:42:44.526287950 -0500





Khoi Mai
Union Pacific Railroad
Distributed Engineering & Architecture
Senior Project Engineer





From:   Ravishankar N <ravishankar at redhat.com>
To:     Khoi Mai <KHOIMAI at UP.COM>, gluster-users at gluster.org
Date:   09/25/2015 03:13 AM
Subject:        Re: [Gluster-users] glusterfs3.4.2-1 split-brain question



This email originated from outside of the company. Please use discretion 
if opening attachments or clicking on links. 


On 09/25/2015 07:48 AM, Khoi Mai wrote:
I have a 4 node distributed-replicated gluster farm.

Volume Name: devstatic
Type: Distributed-Replicate
Volume ID: 75832afb-f20e-4017-8d74-8550a92233fd
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: omhq1b4e:/static/content
Brick2: omdx1b50:/static/content
Brick3: omhq1b4f:/static/content
Brick4: omdx1b51:/static/content
Options Reconfigured:
features.quota-deem-statfs: on
server.allow-insecure: on
network.ping-timeout: 10
performance.lazy-open: off
performance.write-behind: on
features.quota: on
geo-replication.indexing: off
server.statedump-path: /tmp/
diagnostics.brick-log-level: CRITICAL


When I query heal split-brain info I get the following.

[root at omhq1b4e ~]# gluster volume heal devstatic info split-brain
Gathering list of split brain entries on volume devstatic has been 
successful

Brick omhq1b4e:/static/content
Number of entries: 0

Brick omdx1b50:/static/content
Number of entries: 0

Brick omhq1b4f:/static/content
Number of entries: 43
at                    path on brick
-----------------------------------
2015-09-24 18:50:20 /
2015-09-24 18:50:20 /
2015-09-24 18:52:01 /
2015-09-24 19:10:22 /

Brick omdx1b51:/static/content
Number of entries: 42
at                    path on brick
-----------------------------------
2015-09-24 18:51:58 /
2015-09-24 18:51:59 /
2015-09-24 19:01:59 /
2015-09-24 19:11:59 /


Being / on the same replicate, how would I safely resolve this issue?  Is 
it really going to require me to delete the root of each node and heal?  I 
hope not, the entire volume is about 1TB.

No, it is likely that the root is only in metadata split-brain. What does 
the getfattr output of '/' show on the bricks?  
https://github.com/gluster/glusterdocs/blob/master/Troubleshooting/split-brain.md 
should tell you how to resolve split-brains.
Thank you,





Khoi Mai
Union Pacific Railroad
Distributed Engineering & Architecture
Senior Project Engineer




**



This email and any attachments may contain information that is 
confidential and/or privileged for the sole use of the intended recipient. 
Any use, review, disclosure, copying, distribution or reliance by others, 
and any forwarding of this email or its contents, without the express 
permission of the sender is strictly prohibited by law. If you are not the 
intended recipient, please contact the sender immediately, delete the 
e-mail and destroy all copies.

**


_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users



**

This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law.  If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150925/a44fbc05/attachment.html>


More information about the Gluster-users mailing list