[Bugs] [Bug 1231202] [RFE]- How to find total number of glusterfs nfs client mounts?

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 15 08:02:19 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1231202



--- Comment #1 from Bipin Kunal <bkunal at redhat.com> ---
Reply from Niels from nfs point of view:
http://www.gluster.org/pipermail/gluster-devel/2015-June/045640.html

Gluster/NFS supports the 'showmount' command (over the MOUNT RPC
protocol). It can be used to list all the NFS-clients that have a
volume/subdir mounted.

This list should not be 100% trusted though. NFSv3 uses the MOUNT RPC
protocol to get the file-handle for the mountpoint. After that, the
NFSv3 protocol can use the export until it wants to. When the NFS-client
unmounts the export, it sends the UMNT procedure to the NFS-server what
causes the NFS-client/export combination to be removed from the
client-list (showmount output).

A client that does not send a UMNT, will not be removed from the list of
active clients. This can happen when a client does a umount during
network issues, or a client spontaneously reboots (or kernel panic or
..). Very similar are clients that mount the exact same export/subdir in
multiple mountpoints. The NFS-server can not differentiate between a
client that did not set a UMNT, or a client that mounts the same
export/subdir more than once. These clients will only be listed once.

HTH,
Niels

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list