Hi all,
By attaching a debugger to the live glusterfsd process, I think I at least figured out why the files only appear when the stat or du is done as root. Curro Rodriguez, do you run the stats as root? As I mentioned that was necessary for the heal to kick in.Op vr 3 jul. 2015 om 13:04 schreef M S Vishwanath Bhat <msvbhat@xxxxxxxxx>:
On 3 July 2015 at 15:02, Sjors Gielen <sjors@xxxxxxxxxxxxxx> wrote:Hi Vishwanath,Op do 2 jul. 2015 om 21:51 schreef M S Vishwanath Bhat <msvbhat@xxxxxxxxx>:AFAIK there are two ways you can trigger the self-heal1. Use the gluster CLI "heal" command. I'm not sure why it didn't work for you and needs to be investigated.Do you think I should file a bug for this? I can reliably reproduce using the steps in my original e-mail. (This is Gluster 3.7.2, by the way.)Yes, you should file a bug if it's not working.Meanwhile Pranith or Xavi (self-heal developers) might be able to help you.Best Regards,Vishwanath2. Running 'stat' on files on gluster volume mountpoint, So if you run stat on the entire mountpoint, the files should be properly synced across all the replica bricks.This indeed seems to do the same as the `du`: when run as root on the server running the complete brick, the file appears on the incomplete brick as well. Initially as an empty file, but after a few seconds the complete file exists. When the `stat` is not ran as root, this doesn't happen, which I still think is bizarre.Thanks,Sjors
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users