<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>Hi,<br></div><div><br></div><div><em>"gluster v heal</em>" command does not heal corrupt files detected by bitrot feature.<br></div><div>You have modified a file from back end and corrupted it.<br></div><div><br></div><div>I think to correct your corrupted files (in fact the part of file in case of disperse volume) you have to delete that part and run gluster v heal &lt;volname&gt; full<br></div><div>to correct the file.<br></div><div><br></div><div>Keeping Kotresh in cc for better input of bitrot.<br></div><div><br></div><div>Ashish<br></div><div><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"itlinux_team" &lt;itlinux@imppc.org&gt;<br><b>To: </b>gluster-users@gluster.org<br><b>Sent: </b>Wednesday, July 20, 2016 7:43:56 PM<br><b>Subject: </b>[Gluster-users] bitrot error correction in gluster 3.8 distributed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dispersed setup<br><div><br></div>Hi all,<br><div><br></div>I'm testing the bitrot feature on a distributed dispersed setup: &nbsp;3 x (8 <br>+ 4).<br>I simulated a bit-flip on the part of a couple of files in a brick, <br>having bitrot feature enabled before. The output from ''gluster volume <br>bitrot vol_1 scrub status'' shows that two files are corrupted as shown <br>below:<br><div><br></div><br>---<br>Volume name : vol_1<br><div><br></div>State of scrub: Active<br><div><br></div>Scrub impact: normal<br><div><br></div>Scrub frequency: daily<br><div><br></div>Bitrot error log location: /var/log/glusterfs/bitd.log<br><div><br></div>Scrubber error log location: /var/log/glusterfs/scrub.log<br><div><br></div><br>=========================================================<br><div><br></div>Node: localhost<br><div><br></div>Number of Scrubbed files: 564<br><div><br></div>Number of Skipped files: 0<br><div><br></div>Last completed scrub time: 2016-07-20 13:37:16<br><div><br></div>Duration of last scrub (D:M:H:M:S): 0:0:0:50<br><div><br></div>Error count: 0<br><div><br></div><br>=========================================================<br><div><br></div>Node: glusterserver1<br><div><br></div>Number of Scrubbed files: 562<br><div><br></div>Number of Skipped files: 0<br><div><br></div>Last completed scrub time: 2016-07-20 13:37:16<br><div><br></div>Duration of last scrub (D:M:H:M:S): 0:0:0:51<br><div><br></div>Error count: 2<br><div><br></div>Corrupted object's [GFID]:<br><div><br></div>e3cbffbe-12bd-4e1c-8dcf-2ef87ac99990<br><div><br></div>2550475e-cf9e-4781-9a05-9e11c1dd6b7a<br><div><br></div><br>=========================================================<br><div><br></div>Node: glusterserver3<br><div><br></div>Number of Scrubbed files: 564<br><div><br></div>Number of Skipped files: 0<br><div><br></div>Last completed scrub time: 2016-07-20 13:37:16<br><div><br></div>Duration of last scrub (D:M:H:M:S): 0:0:0:50<br>---<br><div><br></div><br>I have executed ''gluster volume heal vol_1 full'' but it does not seem <br>to fix the files, however the file that the client reads is the correct <br>one.<br><div><br></div>How should I handle this kind of corruption within gluster?<br><div><br></div>Thanks!<br>IƱaki.<br><div><br></div>_______________________________________________<br>Gluster-users mailing list<br>Gluster-users@gluster.org<br>http://www.gluster.org/mailman/listinfo/gluster-users</div><div><br></div></div></body></html>