跳转到主内容

对 NFS 客户端的访问被拒绝或挂载挂起进行故障排除 集群模式 Data ONTAP

Views:
117
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

执行

执行

适用场景

ONTAP 9

问题描述

本指南旨在提供一组故障排除过程、以帮助确定NFS挂载挂起或访问被拒绝响应的发生原因。 

建议将所有命令行输入和生成的控制台输出记录在一个文本文件中、以供日后查看。在技术支持案例中提供此信息可能会显著缩短解决问题的时间。

在本指南中、我们会使用具有诊断和高级权限级别的命令。在运行这些命令时、请务必谨慎操作、因为输入错误可能会产生意外后果。

访问被拒绝或挂起的常见原因

NFS挂载因访问被拒绝而失败、或者持续重试并显示为挂起、有多种原因。以下列表介绍了观察到的最常见原因。下一节将提供故障排除策略、帮助您快速识别和修复问题描述的发生原因。

  • 客户端的IP或主机名不存在导出规则
  • 在配置名称服务(包括网络组或DNS条目)之前进行挂载尝试会导致访问缓存中的条目为负
  • 客户端IP到名称的DNS解析与导出规则中指定的网络组或主机名不匹配
  • DNS搜索域缺失或不正确
  • DNS、NIS或LDAP服务器超时
  • 缺少DNS PTR记录
  • 导出规则中指定的主机名不是完全限定的、并以点(.)结尾、也称为root用户名
  • 由于网络连接(防火墙策略或路由配置)、无法访问DNS、NIS或LDAP服务器
  • netgroup.byhost NIS或LDAP中缺少映射
  • 主机名无法在DNS中解析的网络组
  • 本地文件和某些远程服务(包括NIS和LDAP)的网络组主机名区分大小写
  • 只有当路径中存在NTFS卷时、NFSv4挂载或NFSv3 auth=null才需要用户映射
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.