Dell Unity: How to check active open file count for NFS (NFSv4 only) and active connected NFS client (both NFSv3 and NFSv4) on Unity NAS server (User Correctable)

Summary: This KB provides the method to check active open file count for NFS (NFSv4 only) and active connected NFS client (both NFSv3 and NFSv4) on a live Unity system.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

When clients open too many files without closing them on a Unity NAS server, it may cause access issue.

Dell EMC Unity: Linux clients can't open files/folders in Unity NFS shares (Dell EMC Correctable) | Dell US

Identifying the active open file count for NFS and active connected NFS clients can help identify the problematic client so a customer can take proper action to close the opened files from client and investigate the incorrect behavior of the client.

Cause

Identifying the active open file count for NFS and active connected NFS clients can help identify the problematic client so a customer can take proper action.

Resolution

To get the active connected NFS client for NFSv3 and NFSv4, the svc_nfssupport <NAS_server_name> -listClient command can be used on Unity arrays running OE 5.1 and greater.  
 
01:27:16 root@VIRT2213Y2VF7N spa:/cores/service/user# svc_nfssupport NFS_test -listClient

NFS v3 Clients:
|--- 5.6.7.248

NFS v4 Clients:
|--- 5.6.7.242
|--- 5.6.7.249

 

For Unity arrays running an OE below 5.1, an alternative way to get the list of connected NFS clients is to run the "showmount -a <nas server ip>" command on any of the NFS clients.  The command can also be executed on the Unity SP but root privilege is required. 
 
00:54:57 root@VIRT2213RTVFNA spa:/cores/service/user# showmount -a 5.6.7.22
All mount points on 5.6.7.22:
rhel8.peeps.lab:/NFS_export
solaris11.peeps.labL/NFS_export
rhel7.peeps.lab:/NFS_export

Please note the showmount output doesn't tell whether the clients are mounting the NFS share via NFSv3 or NFSv4.  

If you need to determine the number of NFSv4 versus NFSv3 clients shown in the showmount output please contact Dell Technologies or you authorized service provider for additional assistance and reference this article.

There is no method to determine the NFSv3 open file count.  The method used to determine the NFSv4 open file count requires root access.  If you need determining the NFSv4 open file count please contact Dell Technologies or you authorized service provider for additional assistance and reference this article.

Affected Products

Dell EMC Unity
Article Properties
Article Number: 000204821
Article Type: Solution
Last Modified: 12 June 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.