Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

Exportfs -a in ubuntu

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
jskfan
Asked:
jskfan
  • 3
  • 2
  • 2
  • +2
4 Solutions
 
Seth SimmonsSr. Systems AdministratorCommented:
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
 
MazdajaiCommented:
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
 
SandyCommented:
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
jskfanAuthor Commented:
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
 
jskfanAuthor Commented:
no_subtree_check gave me the output shown in the snapshot:

nfs
0
 
Seth SimmonsSr. Systems AdministratorCommented:
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
 
MazdajaiCommented:
Copy and paste the code in my last thread and don't forget to change the mount point.
0
 
skullnobrainsCommented:
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
 
jskfanAuthor Commented:
I will check it later…Thanks
0
 
skullnobrainsCommented:
you can safely ignore the message anyway
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now