<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi all,</div><div>I have a file has a problem of&nbsp;<span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">gfid-mismatch as below.</span></div><div><br></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">stat: cannot stat '/mnt/c//public_html/cello/ior_files/nameroot.ior': Input/output error&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">Remote:&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">getfattr -d -m . -e hex opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"># file: opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">trusted.afr.dirty=0x000000000000000000000000&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">trusted.bit-rot.version=0x000000000000000256ded2f6000ad80f&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">trusted.gfid=0x771221a7bb3c4f1aade40ce9e38a95ee&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">Local:&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">getfattr -d -m . -e hex opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"># file: opt/lvmdir/c2/brick/public_html/cello/ior_files/nameroot.ior&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">trusted.bit-rot.version=0x000000000000000256ded38f000e3a51&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">trusted.gfid=0x8ea33f46703c4e2d95c09153c1b858fd&nbsp;</span></div><div><br></div><div>There is a saying in link&nbsp;<span style="line-height: 20px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; background-color: rgb(245, 245, 245);"><a href="https://gluster.readthedocs.org/en/latest/Troubleshooting/split-brain/" _src="https://gluster.readthedocs.org/en/latest/Troubleshooting/split-brain/">https://gluster.readthedocs.org/en/latest/Troubleshooting/split-brain/</a>&nbsp;as below.</span></div><div><span style="line-height: 20px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; background-color: rgb(245, 245, 245);"><br></span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">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&nbsp;</span><span style="font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; color: rgb(128, 0, 128); background-color: rgb(252, 252, 252);"><b>split-brain due to gfid-mismatch</b></span><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">); and finally determining which of the bricks contains the 'good copy' of the file.</span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);"><br></span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">So the gfid-mismatch is also a split-brain.</span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">But I found that "</span><font color="#404040" face="Lato, proxima-nova, Helvetica Neue, Arial, sans-serif"><span style="font-size: 16px; line-height: 24px;">gluster volume heal gv0 info split-brain" can't show split-brain entry due to gfid-mismatch.</span></font></div><div><br></div><div><font color="#404040" face="Lato, proxima-nova, Helvetica Neue, Arial, sans-serif"><span style="font-size: 16px; line-height: 24px;">My question is following:</span></font></div><div><font color="#404040" face="Lato, proxima-nova, Helvetica Neue, Arial, sans-serif"><span style="font-size: 16px; line-height: 24px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">1.Which command can be used to show&nbsp;</span></font><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">split-brain due to gfid-mismatch?</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">2.How to heal it£¿Is it same as&nbsp;</span><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">data split-brain£¿</span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);"><br></span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);"><br></span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">Thanks£¬</span></div><div><span style="color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 24px; background-color: rgb(252, 252, 252);">Xin</span></div></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>