Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Netapp: toasters

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

 

 

Netapp toasters RSS feed   Index | Next | Previous | View Threaded


jeremy.page at gilbarco

May 5, 2009, 1:37 PM

Post #1 of 4 (926 views)
Permalink
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. 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?





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.


dhawal at netapp

May 5, 2009, 4:50 PM

Post #2 of 4 (866 views)
Permalink
Re: Re-exporting your /etc/exports - how do I get a change in order of shares to take effect? [In reply to]

>} Date: Tue, 5 May 2009 13:37:27 -0700
>} From: "Page, Jeremy" <jeremy.page[at]gilbarco.com>
>} To: toasters[at]mathworks.com
>} 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.


Peter.Learmonth at netapp

May 5, 2009, 4:52 PM

Post #3 of 4 (870 views)
Permalink
RE: Re-exporting your /etc/exports - how do I get a change in order of shares to take effect? [In reply to]

Hi Jeremy
I'm not sure it really makes any difference from an exports perspective.
If you update /etc/exports and export what's already exported, I
wouldn't expect it to change. In fact it doesn't, even if you reboot.

Now nested mounts are a totally different story. You need to mount
those in order from highest to lowest.

Share and enjoy!

Peter

________________________________

From: Page, Jeremy [mailto:jeremy.page[at]gilbarco.com]
Sent: Tuesday, May 05, 2009 1:37 PM
To: toasters[at]mathworks.com
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. 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?



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.


jeremy.page at gilbarco

May 5, 2009, 4:55 PM

Post #4 of 4 (867 views)
Permalink
RE: Re-exporting your /etc/exports - how do I get a change in order of shares to take effect? [In reply to]

That's the point, I changed the export files to put the parent
directories first but they don't show up that way when I do an exportfs,
even after an exportfs -r. I'd expect them to now be in the same order
as the new exports file.

________________________________

From: Learmonth, Peter [mailto:Peter.Learmonth[at]netapp.com]
Sent: Tuesday, May 05, 2009 7:53 PM
To: Page, Jeremy; toasters[at]mathworks.com
Subject: RE: Re-exporting your /etc/exports - how do I get a change in
order of shares to take effect?



Hi Jeremy

I'm not sure it really makes any difference from an exports perspective.
If you update /etc/exports and export what's already exported, I
wouldn't expect it to change. In fact it doesn't, even if you reboot.



Now nested mounts are a totally different story. You need to mount
those in order from highest to lowest.



Share and enjoy!



Peter

________________________________

From: Page, Jeremy [mailto:jeremy.page[at]gilbarco.com]
Sent: Tuesday, May 05, 2009 1:37 PM
To: toasters[at]mathworks.com
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. 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?



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.



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.

Netapp toasters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.