Hi
I have client machine with linux when I try to mount to nfs volume it give me following error:
Failed, reason given by server: no such file or directory
I checked svm volume settings, policy, junction all seems good,
Thanks
issues has been resolved, I did two things first the file i mount with small letter it should be capital, miss-type(:, another thing is nfs-common service was dead/mask and has symbolic link to null: /dev/null so i tried to remove symbolic link and reload daemon to recreate again and it works fine
Thank you for your appreciated time in support
Hi,
To begin with could you give us this output:
::> volume show -vserver <vserver> -fields volume,junction-path
Some pointers to help you with it:https://community.netapp.com/t5/Data-ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/td-p/133270
https://kb.netapp.com/app/answers/answer_view/a_id/1031480
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.cdot-famg-nfs%2FGUID-9F50E651-7926-4509-95B7-3E30A1E4CC5E.html
Let us know if the pointers don't help.
Thanks!
> volume show -vserver DeptA -volume Sales -fields volume, junction-pathvserver volume junction-path------- ------ -------------DeptA Sales /Sales
on Linux client i can see the volume that mount on ontap as below
$ showmount -e salesStorageExport list for salesStorage:/ (everyone)/Sales (everyone)
I just created one for test purpose, and it just works. So, must be something missing in your config.
[root@redhatcentos7 /]# showmount -e 192.168.0.71Export list for 192.168.0.71:/vol_NFS (everyone)
[root@redhatcentos7 /]# mount -t nfs 192.168.0.71:/vol_NFS /mnt/cdot-nfs/[root@redhatcentos7 /]# cd /mnt/cdot-nfs/
Could you share the export policy for me. Also, could you tell me what is the security policy for the NFS volume and the root volume of the vserver where it is junctioned.
Also, plz share the following:
1) Mount command : How you are mounting.
2) tail -f /var/log/messages