A gfid mismatch should also be showing up in the form of a split-brain on the parent directory of the entry in question.
1) In your case, does 'public_html/cello/ior_files' show itself up in the output of `gluster volume heal <VOL> info split-brain`?On Thu, Mar 10, 2016 at 1:03 PM, songxin <songxin_1980@xxxxxxx> wrote:
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=0x8ea33f46703c4e2d95c09153c1b858fdThere 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
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users