跳转到主内容

NFS 挂载错误:失败,服务器给出的原因:没有此文件或目录

Views:
343
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9    
  • NFS
  • CIFS

问题描述

  • NFS 和 CIFS 挂载失败并出现错误:“failed, reason given by server: No such file or directory

[root@xxxxxxx ~]# mount -t nfs -o nfsvers=3,sec=sys 10.128.110.xxx:/DALxxxxxx_RS_xx_WebMethods_DR_pre_test /opt/wm/wmfs/webmethods -vvv
mount.nfs: timeout set for Thu Jun 13 11:20:34 2024
mount.nfs: trying text-based options 'nfsvers=3,sec=sys,addr=10.128.110.xxx'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.128.110.xxx prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.128.110.xxx prog 100005 vers 3 prot UDP port 635
mount.nfs: mount(2): No such file or directory
mount.nfs: mounting 10.128.110.xxx:/DALxxxxxx_RS_xx_WebMethods_DR_pre_test failed, reason given by server: No such file or directory

[root@testpc /]# mount 10.1.1.2:/voltest /voltest
mount.nfs: mounting 10.1.1.2:/voltest failed, reason given by server: No such file or director

  • 配置的连接路径正确:

::> volume show -vserver <vserver> -volume <volume> -fields junction-path

  • 已配置负载共享镜像 (LSM),数据卷位于节点 1 上,此虚拟服务器的根卷位于其他节点上。LS
  • SnapMirror 状态为静默状态。

::> snapmirror show -vserver TEST -type LS

  • 对于位于节点 1 上的数据卷以及位于其他节点上的虚拟服务器的根卷,请尝试在虚拟服务器根卷所在的节点上创建卷。
  • 或者,如果数据卷和根卷位于同一节点上,则可以继续执行此解决方案。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.