<?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: Priority of /etc/exports entries - 7MODE in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Priority-of-etc-exports-entries-7MODE/m-p/138781#M8997</link>
    <description>&lt;P&gt;Hi MaciekF,&lt;/P&gt;
&lt;P&gt;Based on the output you have provided, "&lt;SPAN&gt;linux-hosts-all" will be able to mount the NFS export&amp;nbsp;/vol/volume1 and then they will eventually be able to cd into the subfolders (qtrees), provided that they have enough privileges on the filesystem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Back to your original question,&amp;nbsp;&lt;/SPAN&gt;Data ONTAP processes export entries in sequential order, using only the last export entry in the &lt;STRONG&gt;/etc/exports&lt;/STRONG&gt; &lt;STRONG&gt;file&lt;/STRONG&gt; for a specific file system path. Therefore, you should not add multiple export entries for the same file system path, whether exported or actual, to the &lt;STRONG&gt;/etc/exports&lt;/STRONG&gt; file.&lt;/P&gt;
&lt;P&gt;For example, if you add the following export entries to the &lt;STRONG&gt;/etc/exports&lt;/STRONG&gt; file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DL&gt;
&lt;DT&gt;
&lt;PRE&gt;  /vol/vol0/ -ro
  /vol/vol0/ -rw
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DT&gt;
&lt;/DL&gt;
&lt;P&gt;&lt;SPAN&gt;Data ONTAP exports &lt;STRONG&gt;/vol/vol0&lt;/STRONG&gt; to all NFS clients for read-write access.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 12:06:03 GMT</pubDate>
    <dc:creator>maffo</dc:creator>
    <dc:date>2018-03-12T12:06:03Z</dc:date>
    <item>
      <title>Priority of /etc/exports entries - 7MODE</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Priority-of-etc-exports-entries-7MODE/m-p/137813#M8963</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to find out which entries in /etc/exports have bigger prio, when i set them on vol and qtree level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say that we have an exports configured as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/vol/volume1/qtree1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;-sec=sys,rw=hp-hosts-all:10.22.11.10:0.22.12,root=10.22.11.02&lt;/P&gt;&lt;P&gt;/vol/volume1/qtree2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw=hp-hosts-all:10.22.11.11:0.22.12,root=10.22.11.02&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I have a request to add rw permissions for /vol/volume1 which would look like these:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/vol/volume1/qtree1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;-sec=sys,rw=hp-hosts-all:10.22.11.10:0.22.12,root=10.22.11.02&lt;/P&gt;&lt;P&gt;/vol/volume1/qtree2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw=hp-hosts-all:10.22.11.11:0.22.12,root=10.22.11.02&lt;/P&gt;&lt;P&gt;/vol/volume1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw=linux-hosts-all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it mean that only linux-hosts-all netgroup users will see volume1 and it's qtrees exported?&lt;/P&gt;&lt;P&gt;I wan't to export the whole volume and just wondering if doing so won't take access rights to it's qtrees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:04:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Priority-of-etc-exports-entries-7MODE/m-p/137813#M8963</guid>
      <dc:creator>MaciekF</dc:creator>
      <dc:date>2025-06-04T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Priority of /etc/exports entries - 7MODE</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Priority-of-etc-exports-entries-7MODE/m-p/138781#M8997</link>
      <description>&lt;P&gt;Hi MaciekF,&lt;/P&gt;
&lt;P&gt;Based on the output you have provided, "&lt;SPAN&gt;linux-hosts-all" will be able to mount the NFS export&amp;nbsp;/vol/volume1 and then they will eventually be able to cd into the subfolders (qtrees), provided that they have enough privileges on the filesystem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Back to your original question,&amp;nbsp;&lt;/SPAN&gt;Data ONTAP processes export entries in sequential order, using only the last export entry in the &lt;STRONG&gt;/etc/exports&lt;/STRONG&gt; &lt;STRONG&gt;file&lt;/STRONG&gt; for a specific file system path. Therefore, you should not add multiple export entries for the same file system path, whether exported or actual, to the &lt;STRONG&gt;/etc/exports&lt;/STRONG&gt; file.&lt;/P&gt;
&lt;P&gt;For example, if you add the following export entries to the &lt;STRONG&gt;/etc/exports&lt;/STRONG&gt; file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DL&gt;
&lt;DT&gt;
&lt;PRE&gt;  /vol/vol0/ -ro
  /vol/vol0/ -rw
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DT&gt;
&lt;/DL&gt;
&lt;P&gt;&lt;SPAN&gt;Data ONTAP exports &lt;STRONG&gt;/vol/vol0&lt;/STRONG&gt; to all NFS clients for read-write access.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:06:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Priority-of-etc-exports-entries-7MODE/m-p/138781#M8997</guid>
      <dc:creator>maffo</dc:creator>
      <dc:date>2018-03-12T12:06:03Z</dc:date>
    </item>
  </channel>
</rss>

