how to count nfs clients attached to my server?
Marcelo M. Garcia
marcelo.maia.garcia at googlemail.com
Sun Nov 9 11:03:28 UTC 2008
Steve Berg wrote:
> Thomas Cameron wrote:
>> Skunk Worx wrote:
>>> Is there a way, on a server, to discover how many clients are
>>> currently attached to a NFS file share?
>>>
>>> I'd like to be able to see a list of the clients that have "my" NFS
>>> share mounted.
>>>
>>> It's my understanding /usr/sbin/exportfs gives a list but it is not
>>> reliable as it depends on clients un-mounting the share properly.
>>>
>>> I suppose the nature of NFS makes it impossible to maintain/calculate
>>> an accurate client list, but I thought I'd ask anyway.
>>
>> Have a look at /var/lib/nfs/rmtab and other files in /var/lib/nfs/
>>
> /usr/sbin/showmount will give you a list of IP's connected.
>
Hi
It seems that the table shown by showmount it is not updated, because it
shows clients that are not longer mounting the partition.
Regards
Marcelo
More information about the users
mailing list