ONTAP Discussions
ONTAP Discussions
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
Solved! See The Solution
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
Let us know if the pointers don't help.
Thanks!
> volume show -vserver DeptA -volume Sales -fields volume, junction-path
vserver volume junction-path
------- ------ -------------
DeptA Sales /Sales
on Linux client i can see the volume that mount on ontap as below
$ showmount -e salesStorage
Export 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.71
Export 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
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
Well done! Glad you sorted it out.