Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Do you mean, you want to use inotify on an nfs client to detect when files are modified on the server (possibly by other clients?) – Dave Cheney May 3 '09 at 6:19
@Dave Cheney: Yes, that's correct. – cdleary Jun 7 '09 at 23:14
I reported a feature request here – HRJ Jan 29 '13 at 9:25

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).

share|improve this answer
+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. – jhs May 3 '09 at 14:09

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...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.