[Gluster-users] about split-brain
songxin
songxin_1980 at 126.com
Thu Mar 10 07:33:00 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160310/099f2c6b/attachment.html>
More information about the Gluster-users
mailing list