I tried to use inotify notifications, to check for filesystem events, but it does not work. no file-system vent notifier worked.
Is there any inotify utility available for remote file system like EFS, NFS, GFS etc?
I tried to use inotify notifications, to check for filesystem events, but it does not work. no file-system vent notifier worked.
Is there any inotify utility available for remote file system like EFS, NFS, GFS etc?
Unfortunately, no. inotify works by hooking into the kernels 'write' code. As remote filesystems have the ability for other things to write to them, without the kernel being aware of it, inotify explicitly does not work for them.
For more information, there's a useful overview here:
https://www.linuxjournal.com/content/linux-filesystem-events-inotify