NFS mount error: failed, reason given by server: No such file or directory
Applies to
- ONTAP 9
- NFS
- CIFS
Issue
- NFS and CIFS mount fails with error: "
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
- Junction path configured is correct:
::> volume show -vserver <vserver> -volume <volume> -fields junction-path
- Loadsharing mirrors (LSM) are configured and Data volume is residing on node1 and Root volume of this vserver is residing on other Node.
- The LS snapmirror status is in quiesced status.
::> snapmirror show -vserver TEST -type LS
- With regards to Data volume residing on Node1 and Root volume of the vserver residing on other Node, try to create volume on the Node where the root volume of the vserver is residing.
- Alternatively, you can proceed with the solution if the data volume and Root volume are residing on the same Node.