<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cDOT NFS export failed, reason given by server: No such file or directory in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133272#M29119</link>
    <description>&lt;P&gt;I finally found the solution myself.&lt;/P&gt;&lt;PRE&gt;volume show -vserver svmtest -volume NFStest -junction&lt;BR /&gt;&lt;BR /&gt;Error: show failed: Volume NFStest in Vserver svmtest is not mounted in the namespace&lt;/PRE&gt;&lt;P&gt;So the error was that the junction was missing in the namespace.&lt;/P&gt;&lt;P&gt;I was struggling with the export policies and using a volume I had created some days ago not being aware that the volume required a mount on the svm too.&lt;/P&gt;&lt;P&gt;After creating the junction the nfs mounts worked as desired.&lt;/P&gt;&lt;PRE&gt;volume   mount -vserver svmtest -volume NFStest -junction-path /NFStest&lt;/PRE&gt;</description>
    <pubDate>Wed, 02 Aug 2017 07:19:00 GMT</pubDate>
    <dc:creator>PMSBoeblingen</dc:creator>
    <dc:date>2017-08-02T07:19:00Z</dc:date>
    <item>
      <title>cDOT NFS export failed, reason given by server: No such file or directory</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133270#M29117</link>
      <description>&lt;P&gt;I have a single FAS2650 running with clustered data ontap.&lt;/P&gt;&lt;P&gt;I created a vserver svmtest, a volume NFStest&amp;nbsp; and a policy pol_test&lt;/P&gt;&lt;PRE&gt;vserver export-policy create -vserver svmtest -policyname pol_test&lt;/PRE&gt;&lt;P&gt;Then I added 2 rules to pol_test&lt;/P&gt;&lt;PRE&gt;vserver export-policy rule create -vserver svmtest -policyname pol_test -ruleindex 1 -clientmatch @testhosts,192.168.1.0/24 -protocol nfs -rorule sys -rwrule sys   -superuser sys  -anon 65534 -allow-suid true  -allow-dev true

vserver export-policy rule create -vserver svmtest -policyname pol_test -ruleindex 2 -clientmatch hostA,hostB,hostC -protocol nfs -rorule sys -rwrule sys   -superuser none  -anon 65534 -allow-suid false  -allow-dev false&lt;/PRE&gt;&lt;P&gt;and assigned the policy to my NFStest volume&lt;/P&gt;&lt;PRE&gt;volume  modify -vserver svmtest -volume NFStest -policy pol_test&lt;/PRE&gt;&lt;P&gt;The web GUI shows everything as shown above but when I try to mount either on hostA or on a host from @testhosts or from the range 192.168.1.0/24 I get the following error:&lt;/P&gt;&lt;PRE&gt;mkdir -p /tmp/XXX
mount -vv -t nfs svmtest:/NFStest /tmp/XXX
mount.nfs: timeout set for Wed Aug  2 07:34:35 2017
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.178,clientaddr=192.168.1.79'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr=192.168.1.178'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.178 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.178 prog 100005 vers 3 prot UDP port 635
mount.nfs: mount(2): No such file or directory
mount.nfs: mounting svmtest:/NFStest failed, reason given by server: No such file or directory&lt;/PRE&gt;&lt;P&gt;How can I troubleshoot the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:46:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133270#M29117</guid>
      <dc:creator>PMSBoeblingen</dc:creator>
      <dc:date>2025-06-04T14:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: cDOT NFS export failed, reason given by server: No such file or directory</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133272#M29119</link>
      <description>&lt;P&gt;I finally found the solution myself.&lt;/P&gt;&lt;PRE&gt;volume show -vserver svmtest -volume NFStest -junction&lt;BR /&gt;&lt;BR /&gt;Error: show failed: Volume NFStest in Vserver svmtest is not mounted in the namespace&lt;/PRE&gt;&lt;P&gt;So the error was that the junction was missing in the namespace.&lt;/P&gt;&lt;P&gt;I was struggling with the export policies and using a volume I had created some days ago not being aware that the volume required a mount on the svm too.&lt;/P&gt;&lt;P&gt;After creating the junction the nfs mounts worked as desired.&lt;/P&gt;&lt;PRE&gt;volume   mount -vserver svmtest -volume NFStest -junction-path /NFStest&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Aug 2017 07:19:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133272#M29119</guid>
      <dc:creator>PMSBoeblingen</dc:creator>
      <dc:date>2017-08-02T07:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: cDOT NFS export failed, reason given by server: No such file or directory</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133275#M29121</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I start by ensuring your data volume is mounted within the vservers namespace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cluster1::&amp;gt; volume show -vserver vserver2 -fields volume,junction-path
vserver  volume       junction-path
-------- ------------ -------------
vserver2 &lt;STRONG&gt;nfs_data_001 /nfs_data_001&lt;/STRONG&gt;
vserver2 vserver2_root
                      /&lt;/PRE&gt;&lt;P&gt;Note: your data volume should be mounted within the namespace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your data volume is not mounted then use the volume mount command to mount it. EG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cluster1::&amp;gt; volume mount -vserver vserver2 -volume nfs_data_001 -junction-path /nfs_data_001&lt;/PRE&gt;&lt;P&gt;Then ensure that the export policy and policy rules applied the vservers root volume enable read access for clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cluster1::&amp;gt; volume show -vserver vserver2 -volume nfs_data_001 -fields volume, policy&lt;BR /&gt;vserver&amp;nbsp; volume&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; policy&lt;BR /&gt;-------- ------------ -------&lt;BR /&gt;vserver2 nfs_data_001 default

cluster1::&amp;gt; export-policy rule show -vserver vserver2 -policyname default
             Policy          Rule    Access   Client                RO
Vserver      Name            Index   Protocol Match                 Rule
------------ --------------- ------  -------- --------------------- ---------
vserver2     default         1       any      0.0.0.0/0             any&lt;/PRE&gt;&lt;P&gt;Note: as the "default" policy applies the the vservers root volume, ensure that an export policy rule exists to enable clients read access to volumes mounted in the name space&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use the "export-policy rule create" command to create a default rule for the vservers root volume if no rules exists (which i think is the default) EG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cluster1::&amp;gt; export-policy rule create -vserver vserver2 -policyname default -clientmatch 0.0.0.0/0 -rorule any -rwrule none&lt;/PRE&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 07:28:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/cDOT-NFS-export-failed-reason-given-by-server-No-such-file-or-directory/m-p/133275#M29121</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-08-02T07:28:58Z</dc:date>
    </item>
  </channel>
</rss>

