<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">apart from the couple of options given by Prashanth, you might be interested in this (in the future): <a href="http://www.gluster.org/community/documentation/index.php/Features/Gnotify">http://www.gluster.org/community/documentation/index.php/Features/Gnotify</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">    Venky</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 10:38 AM, Prashanth Pai <span dir="ltr">&lt;<a href="mailto:ppai@redhat.com" target="_blank">ppai@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">GlusterFS has changelog feature. More information can be found here:<br>
<a href="https://github.com/gluster/glusterfs/blob/master/doc/features/geo-replication/libgfchangelog.md" target="_blank">https://github.com/gluster/glusterfs/blob/master/doc/features/geo-replication/libgfchangelog.md</a><br>
<br>
However, changelog logs GFID (unique id of a file) and not the path name. Here are some pointers on how to get file path from GFID: <a href="https://github.com/gluster/glusterfs/blob/master/doc/debugging/gfid-to-path.md" target="_blank">https://github.com/gluster/glusterfs/blob/master/doc/debugging/gfid-to-path.md</a><br>
<br>
Another way is to use inotify on brick mounts. inotify has it&#39;s own limitations of being not scalable and not being recursive. If you&#39;re lucky you might find some user space libraries that do implement recursive monitoring, which is a little tricky and prone to race conditions.<br>
<a href="http://lwn.net/Articles/605128/" target="_blank">http://lwn.net/Articles/605128/</a><br>
<br>
Regards,<br>
 -Prashanth Pai<br>
<span class=""><br>
----- Original Message -----<br>
From: &quot;xiaoyu&quot; &lt;<a href="mailto:xiaoyu@neusoft.com">xiaoyu@neusoft.com</a>&gt;<br>
To: &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
Sent: Sunday, October 26, 2014 12:53:18 PM<br>
Subject: [Gluster-users] Can we know fileSystem event from GlusterFS ?<br>
<br>
Hi, every one:<br>
<br>
we are using GlusterFS V3.5.2 and we are facing a problem of monitoring filechanges:<br>
<br>
Suppose we create a new file in a volume, can GlusterFS log it somewhere, informing things like : file add in column?<br>
<br>
Any suggestion will be appreciated,thanks.<br>
<br>
<br>
<br>
</span><span class="">xiaoyu<br>
<br>
<br>
---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)<br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of<br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is<br>
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying<br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please<br>
immediately notify the sender by return e-mail, and delete the original message and all copies from<br>
your system. Thank you.<br>
---------------------------------------------------------------------------------------------------<br>
<br>
</span>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div><br></div></div>