Wednesday, January 12, 2011

How do I get inotify-like event notifications from an NFS server?

AFAIK, the Linux implementation of NFS doesn't support inotify-like event notification from the server-side -- is there a workaround, patch, or alternative solution that can produce the same data?

  • According to this mail, running an inotify watcher on the server exporting the filesystem should catch when clients write to the filesystem.

    Really, I'd recommend trying it. I find that it's usually best to give things a shot oneself, even if success seems unlikely (as long as there is no harm in doing so, of course).

    jhs : +1. It may not work in all situations, but this is exactly the idea that occured to me when I read the question. Perhaps you could add some sort of queuing system like RabbitMQ so that clients can pick up notification messages remotely.
    From eternaleye
  • FAM used to have this feature way back when. I don't know if it has been/can be ported to use inotify as a backend, though...

    From James Cape

0 comments:

Post a Comment