Hi Felix, File path is the path from mount point. Need not include any other options. Regards,| Shwetha On Mon, Jun 22, 2020 at 3:15 PM Felix K?lzow <felix.koelzow at gmx.de> wrote:> Dear Shwetha, > > > One more alternative would be to triggering sync on indivisual files, > > # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path> > > So, how to do it exactly and what is <file-path>? Is it a gluster mount > point with certain mount options > > or is this the brick path? Furthermore, does it work for directories? > > > Regards, > > Felix > > > ________ > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://bluejeans.com/441850968 > > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200622/87e0f20e/attachment.html>
Dear Shwetha, thanks for your reply. I mounted the volume via fuse on the gluster storage server and ran the command: setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <myDirectoryOfInterestOnTheMountPathAsRootUser> Before that, I mounted the volume with my default options: mount -t glusterfs -o acl glusterStorageServer:/volName /mnt/mountPoint and set root squash to off: gluster volume set volName server.root-squash off Is there any possibility to verify that it is done? Actually, the geo-replication for this volume is running in hybrid crawl due to the reset-sync-time command. Kind regards, Felix Previously, I got the error "operation not supported" so I was somehow confused. Now, it worked and On 22/06/2020 13:11, Shwetha Acharya wrote:> Hi Felix, > > File path is the path from mount point. Need not include any other > options. > > Regards,| > Shwetha > > On Mon, Jun 22, 2020 at 3:15 PM Felix K?lzow <felix.koelzow at gmx.de > <mailto:felix.koelzow at gmx.de>> wrote: > > Dear Shwetha, > > > One more alternative would be to triggering sync > on?indivisual?files, > > # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path> > > So, how to do it exactly and what is <file-path>? Is it a gluster > mount > point with certain mount options > > or is this the brick path? Furthermore, does it work for directories? > > > Regards, > > Felix > > > ________ > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://bluejeans.com/441850968 > > Gluster-users mailing list > Gluster-users at gluster.org <mailto:Gluster-users at gluster.org> > https://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200622/63cb6c85/attachment.html>
Dear Shwetha, sorry, one more question, since I try to collect some more information which may helpful for other gluster-users. Does the suggested command # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path> also work regardless of the current mode, i.e. history, hybrid or changelog crawl? Regards, Felix On 22/06/2020 13:11, Shwetha Acharya wrote:> Hi Felix, > > File path is the path from mount point. Need not include any other > options. > > Regards,| > Shwetha > > On Mon, Jun 22, 2020 at 3:15 PM Felix K?lzow <felix.koelzow at gmx.de > <mailto:felix.koelzow at gmx.de>> wrote: > > Dear Shwetha, > > > One more alternative would be to triggering sync > on?indivisual?files, > > # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path> > > So, how to do it exactly and what is <file-path>? Is it a gluster > mount > point with certain mount options > > or is this the brick path? Furthermore, does it work for directories? > > > Regards, > > Felix > > > ________ > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://bluejeans.com/441850968 > > Gluster-users mailing list > Gluster-users at gluster.org <mailto:Gluster-users at gluster.org> > https://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200622/8fc53994/attachment.html>