« Return to Thread: Re-exporting your /etc/exports - how do I get a change in order of shares to take effect?

Re: Re-exporting your /etc/exports - how do I get a change in order of shares to take effect?

by dhawal bhagwat :: Rate this Message:

Reply to Author | View in Thread


>} Date: Tue, 5 May 2009 13:37:27 -0700
>} From: "Page, Jeremy" <jeremy.page@...>
>} To: toasters@...
>} Subject: Re-exporting your /etc/exports - how do I get a change in order of
>}     shares to take effect?
>}
>} I have several NFS mount points that also have child directories also
>} exported and I've been told that you should export the parent
>} directories first, then the children.

Was the reason for that, specified?  If it was wrt order of matching, then
it should not matter - ONTAP looks for the longest matching prefix to
determine which export rule to apply.  The docs mention that (search for
'prefix') -

http://now.netapp.com/NOW/knowledge/docs/ontap/rel731/html/ontap/cmdref/man5/na_exports.5.htm


>} I've updated my /etc/exports file
>} and ran exportfs -r on the filer but it does not look like it's taking
>} effect if I do an exportfs to see what's currently exported. How do I
>} get the exports in the correct order?

So the order in /etc/exports or the exportfs display, should not matter.  
You can test and try to see which rule is taking effect.


Aside - you will need to be watchful about how the export permissions are
laid out for the child and the parent dirs - to be sure you really have
the desired checks in-effect at each level.


thanks,

-dhawal.



>}
>}  
>}
>}
>}
>} Please be advised that this email may contain confidential information.
>}  If you are not the intended recipient, please do not read, copy or
>} re-transmit this email.  If you have received this email in error,
>} please notify us by email by replying to the sender and by telephone
>} (call us collect at +1 202-828-0850) and delete this message and any
>} attachments.  Thank you in advance for your cooperation and assistance.
>}
>} In addition, Danaher and its subsidiaries disclaim that the content of
>} this email constitutes an offer to enter into, or the acceptance of,
>} any
>} contract or agreement or any amendment thereto; provided that the
>} foregoing disclaimer does not invalidate the binding effect of any
>} digital or other electronic reproduction of a manual signature that is
>} included in any attachment to this email.

 « Return to Thread: Re-exporting your /etc/exports - how do I get a change in order of shares to take effect?