date is not the same but is content different ? You may have disable the mtime attribue to get better perf ? What are these 2 GFID ? You can use this script to find who they are: https://gist.github.com/semiosis/4392640 Cordialement, Mathieu CHATEAU http://www.lotp.fr 2015-08-03 12:30 GMT+02:00 shacky <shacky83 at gmail.com>:> 2015-08-03 12:16 GMT+02:00 Mathieu Chateau <mathieu.chateau at lotp.fr>: > > > You should start a heal > > gluster volume xxx heal > > or even a full one if not enough > > gluster volume xxx heal full > > Thanks, I tried both but this not solved the problem: > > root at web1:~# ls -l /mnt/data/web/system/web/config.inc.php > -rw-r--r-- 1 1010 1010 4041 Jul 31 17:42 > /mnt/data/web/system/web/config.inc.php > > root at web2:~# ls -l /mnt/data/web/system/web/config.inc.php > -rw-r--r-- 1 1010 1010 4041 Jul 24 09:20 > /mnt/data/web/system/web/config.inc.php > > root at web3:~# ls -l /mnt/data/web/system/web/config.inc.php > -rw-r--r-- 1 1010 1010 4041 Jul 24 09:20 > /mnt/data/web/system/web/config.inc.php > > This is the heal info: > > root at web1:~# gluster volume heal data info > Brick web1:/data/ > <gfid:d5f6d18f-082f-40e9-bdd1-b7d7eee0ad6d> > <gfid:376cc8a1-8592-4e3f-a47a-5d36fa62f6bc> > Number of entries: 2 > > Brick web2:/data/ > Number of entries: 0 > > Brick web3:/data/ > Number of entries: 0 > > > I guess clients wrote some files while node was down or rebooting? > > I don't think this happened, because when I updated that file all > nodes was running. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150803/39566450/attachment.html>
Thank you Mathieu for your answer! 2015-08-03 20:24 GMT+02:00 Mathieu Chateau <mathieu.chateau at lotp.fr>:> date is not the same but is content different ?Yes, the content is different. The file on the node1 is the updated one, the other two nodes had the old version.> You may have disable the mtime attribue to get better perf ?No, I just have a "default" configuration for that volume, I had not disable the mtime attribute.> What are these 2 GFID ? > You can use this script to find who they are: > https://gist.github.com/semiosis/4392640Thank you so much. I tried to delete that file on the node1, and I verified that it was deleted on node2 and node3 too. So I copied the correct file on node1 and it correctly replicated on node2 and node3. So now the problem seems to be solved, but..... How I could monitor this? I realized that just by chance! Another question: That volume is mounted in /mnt/data and the real data are located in /data. So every nodes are mounting the data on localhost:data. If I write some files in /mnt/data they are correctly replicated, but if I write them in /data not of course. Is there a way to avoid this? I want /data to be accessible to Gluster only, not to real users! Thank you very much for your help!