如何确定 Powerscale/Isilon 上的 NFS 客户端连接
Summary: NFS 查询 是否有一种方法可以确定哪些客户端正在访问群集中每个节点上的 nfs 装载点。或者是否有更好的命令或方法来获取 Isilon 群集中每个节点的 nfs 客户端装载详细信息。
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
showmount -a 可以以以下形式列出所有装载点:host:dirpath
有关使用“showmount -a”命令的信息,支持部门建议不要使用它,因为它不是监视连接的可靠方法。
1) 它仅提供 10 分钟前特定节点的特定信息,因此它永远不会是最新的。
2) 如果 mountd 遇到与正在连接的客户端相关的任何问题,即使它正常工作,它甚至不会显示在 showmount 中。
3) Showmount 不会显示任何 NFSv4 连接,仅显示 v3。
Cause
没有命令或其他方法可以访问群集中每个节点上的 nfs 装载点,Isilon 节点上有访问分区和许多 IP。
Resolution
要验证当前统计信息
,此命令显示所有已连接和活动客户端的计数
isi statistics query current --nodes=all --stats=node.clientstats.connected.nfs,node.clientstats.active.nfs,node.clientstats.active.nfs
此命令还将显示 NFS 客户端,但它们是活动客户端,不会显示所有 NFS 客户端,包括非活动但已装载 NFS 的客户端。
# isi statistics client --nodes=all --protocols=nfs3
Affected Products
PowerScale OneFSArticle Properties
Article Number: 000217710
Article Type: Solution
Last Modified: 22 Sept 2023
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.