On 25/06/07, Nadav Har'El <[EMAIL PROTECTED]> wrote:

On Sun, Jun 24, 2007, Maxim Veksler wrote about "Re: Transferring named
pipes data over exported NFS ?":
> You are right, this is a workaround for the real problem which is : I
> can't find an option to get information about the connected clients to
> my exported NFS path. I assume that this is because NFS does not
> maintain an active session table (It uses RPC calls, AFAIK).

The "showmount" command can show you which remote hosts are currently
mounting, via NFS, which of your exported directories.

I don't know, however, whether this qualifies as a "active" session table.
It doesn't tell you how recently a file was fetched through each
connection,
and some of the connections might even be broken but the system doesn't
know
about that yet.


From rpc.mountd(8), it talks about /var/lib/nfs/rmtab which I suppose has
some relation to showmount, they put it nicely - "it's mostly ornamental"
since clients may crash without updating this output or even keep using an
open file handle after unmounting the filesystem, that's why I didn't
mention this option in my reply.

(I love the word "ornamental", reminds me of what catholic priests and
Christmas trees have in common).

--Amos

Reply via email to