Solved

Exportfs -a in ubuntu

Posted on 2014-03-11
10
420 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS EC2 HTTP & HTTPS 2 119
Krita v3 Linux Mint/Ubuntu 16.04 9 75
AWS Linux EC2 question on group 7 88
php mail() send emails but the message is lost 4 33
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 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