Hi, We have a 2 data node plus 1 arbiter node replicate gluster volume running gluster 3.8.5. Clients are also using 3.8.5. One of the data nodes failed the other night, and whilst it was down, several files were replaced on the second data node / arbiter (and thus the filesystem path was linked to a new GFID). When the broken node was restarted, these files were in a gfid mismatch state. I know how to manually correct them, but was wondering if there is an automated way ? I thought the cluster.favorite-child-policy volume setting of majority would work, but it made no difference. Clients were still getting Input/output error when attempting to access those files. Regards, Michael Ward -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20170104/c53124a4/attachment.html>
Ravishankar N
2017-Jan-04 02:21 UTC
[Gluster-users] GFID Mismatch - Automatic Correction ?
On 01/04/2017 06:27 AM, Michael Ward wrote:> > Hi, > > We have a 2 data node plus 1 arbiter node replicate gluster volume > running gluster 3.8.5. Clients are also using 3.8.5. > > One of the data nodes failed the other night, and whilst it was down, > several files were replaced on the second data node / arbiter (and > thus the filesystem path was linked to a new GFID). > > When the broken node was restarted, these files were in a gfid > mismatch state. I know how to manually correct them, but was wondering > if there is an automated way ? >For resolving gfid-split-brains, there is no automated way or favorite-child policy. When you say 2 data+1 arbiter, you are using an actual arbiter volume right? (as opposed to a replica 2 volume + a dummy node which some people are referring to as arbiter for server-quourm). gfid-split-brains should not occur on either replica-3 or arbiter volumes with the steps you described. Regards, Ravi> I thought the cluster.favorite-child-policy volume setting of majority > would work, but it made no difference. Clients were still getting > Input/output error when attempting to access those files. > > Regards, > > Michael Ward > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20170104/30e54969/attachment.html>