Solved

Exportfs -a in ubuntu

Posted on 2014-03-11
10
430 Views
Last Modified: 2014-03-27
I used exportfs -a  command during NFS configuration , but I get the output shown in the screenshot.
I wonder if this command is no longer needed.

Thanks

nfs
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 35

Assisted Solution

by:Seth Simmons
Seth Simmons earned 125 total points
ID: 39922369
it means a required option was not specified so it assumed a default
if you add no_subtree_check in the mount definition in your exports file the message should go away

this should help more with nfs options; scroll half way down the page for the subtree options

http://manpages.ubuntu.com/manpages/lucid/man5/exports.5.html
0
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 125 total points
ID: 39922407
This is the default behavior for nfs-utils -

subtree_check forces NFS to ensure mount request against a file residing in the parent directory is also exported. It has not been used widely because it may have negative impact when a file is move or rename. If you are unsure about subtree_check implication then I suggest shutting it off -

/mountA 172.16.27.0/24(rw,sync,no_subtree_check)

Open in new window

0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 125 total points
ID: 39923035
Try below

#fuser -km <mountpoint>

this will show what all pid's are blocking the fs to be get released.

#fuser -km <mountpoint>

#umount <mountpoint>

TY/SA
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:jskfan
ID: 39923304
but the NFS setup worked…

after I restarted the nfs-kernel-server service, then
 I installed the NFS client and mounted the folder, it worked regardless of the output from exports -a command..
0
 

Author Comment

by:jskfan
ID: 39923318
no_subtree_check gave me the output shown in the snapshot:

nfs
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 39923420
did you pay attention to what was stated?
i said you put in the mount definition of your exports file; mazdajai gave an example
you don't use on the command line
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39923705
Copy and paste the code in my last thread and don't forget to change the mount point.
0
 
LVL 27

Accepted Solution

by:
skullnobrains earned 125 total points
ID: 39932527
i did not find the ubuntu manpage but referring to http://unixhelp.ed.ac.uk/CGI/man-cgi?exportfs

you probably want "exportfs -a -o no_subtree_check "
0
 

Author Closing Comment

by:jskfan
ID: 39958460
I will check it later…Thanks
0
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39958816
you can safely ignore the message anyway
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question