about split-brain

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

 



Hi all,
I have a file has a problem of gfid-mismatch as below.

stat: cannot stat '/mnt/c//public_html/cello/ior_files/nameroot.ior': Input/output error 
Remote: 

getfattr -d -m . -e hex opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior 
# file: opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior 
trusted.afr.dirty=0x000000000000000000000000 
trusted.bit-rot.version=0x000000000000000256ded2f6000ad80f 
trusted.gfid=0x771221a7bb3c4f1aade40ce9e38a95ee 

Local: 

getfattr -d -m . -e hex opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior 
# file: opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior 
trusted.bit-rot.version=0x000000000000000256ded38f000e3a51 
trusted.gfid=0x8ea33f46703c4e2d95c09153c1b858fd 

There is a saying in link https://gluster.readthedocs.org/en/latest/Troubleshooting/split-brain/ as below.

This is done by observing the afr changelog extended attributes of the file on the bricks using the getfattr command; then identifying the type of split-brain (data split-brain, metadata split-brain, entry split-brain or split-brain due to gfid-mismatch); and finally determining which of the bricks contains the 'good copy' of the file.

So the gfid-mismatch is also a split-brain.
But I found that "gluster volume heal gv0 info split-brain" can't show split-brain entry due to gfid-mismatch.

My question is following:
1.Which command can be used to show split-brain due to gfid-mismatch?
2.How to heal it?Is it same as data split-brain?


Thanks,
Xin


 

_______________________________________________
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