Re: [gamin] gamin distributed NFS support



On Tue, Feb 14, 2006 at 04:10:07PM +0100, Moritz Augustin wrote:
> I'm new to gamin and fam, but need such a program to monitor the 
> maildirs on an nfs-mounted volume. The problem is that the changes to 
> the remote filesystem are not everytime made locally. So the kernel 
> notification to the gamin daemon cannot work because gamin is running 
> locally and the kernel notification is only at the nfs storage server.

  in my tests modifications initiated by the local host are reported
locally at least on a dnotify based system, I would hope inotify works
that way too.

> To poll the opened folders every $intervall second is too expensive - it 
> would be great just to get the realtime information exactly when the 
> filesystem is modified.

  local modification, yes, remote modifications, that won't be possible.

> My question is (because I know there are other people needing exactly 
> the same) if it would be hard to build a server-client relationship 
> between to gamin-daemons. The client would act as a normal gamin daemon 
> on the one host but has also capabilities to have a efficient look at 
> nfs-made changes because the server-gamin reports every modification 
> instantly.

I don't intent to implement anything like this myself, the old fam daemon
had something like this plugging in the remote NFS server with RPC,
but it was a big mess to get working, it was a security hazard, I doubt
anybody want to get back to this.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]