ONTAP Discussions

Nfs volume mounting issue

Phill1
12,093 Views

 

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
12,046 Views

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
12,085 Views

Phill1
12,078 Views

> 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
12,062 Views

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
12,048 Views

Also, plz share the following:

1) Mount command : How you are mounting.

2) tail -f /var/log/messages

Phill1
12,047 Views

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

Ontapforrum
12,042 Views

Well done! Glad you sorted it out.

Public