ONTAP Discussions

Nfs volume mounting issue

Phill1

 

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

1 ACCEPTED SOLUTION

Phill1

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

View solution in original post

6 REPLIES 6

Ontapforrum

Phill1

> 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)

Ontapforrum

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.

Ontapforrum

Also, plz share the following:

1) Mount command : How you are mounting.

2) tail -f /var/log/messages

Phill1

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

View solution in original post

Ontapforrum

Well done! Glad you sorted it out.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public